Interface ITestActAwaiter<T>
- Namespace
- Mokkit.Act
- Assembly
- Mokkit.dll
Provides an awaiter for result-bearing act operations, enabling var r = await Act.DoThing(...).
This interface implements the awaiter pattern to allow direct awaiting of Mokkit.Act.ITestAct`1 instances.
public interface ITestActAwaiter<out T> : INotifyCompletionType Parameters
T-
The type of the produced result.
Implements
Properties
IsCompleted
Gets a value indicating whether the act operation has completed.
bool IsCompleted { get; }Property Value
Methods
GetResult()
Gets the result produced by the act operation. This method is called when the await completes.
T GetResult()Returns
- T
-
The value produced by the act.