Interface ITestAct<T>
- Namespace
- Mokkit.Act
- Assembly
- Mokkit.dll
Represents a result-bearing act — an act chain whose final operation produces a value of type
T. Awaiting it runs the pending steps and yields that value, so an act operation
can return its artifact directly (var result = await Act.SaveClient(command);).
public interface ITestAct<out T>Type Parameters
T-
The type of the produced result.
Methods
GetAwaiter()
Gets an awaiter that runs the act and yields its produced result via the async/await pattern.
ITestActAwaiter<out T> GetAwaiter()Returns
- ITestActAwaiter<T>
-
An awaiter for the result-bearing act.