IFiberLoop<C> Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public interface IFiberLoop<C> : Microsoft.Bot.Builder.Internals.Fibers.IFiber<C>, Microsoft.Bot.Builder.Internals.Fibers.IWaiter<C>
type IFiberLoop<'C> = interface
interface IFiber<'C>
interface IWaiter<'C>
Public Interface IFiberLoop(Of C)
Implements IFiber(Of C), IWaiter(Of C)
Type Parameters
- C
- Derived
- Implements
Properties
Frames | (Inherited from IFiber<C>) |
Mark |
A "mailbox" for storing a wait associated with this frame. (Inherited from IWaiter<C>) |
Wait |
The active wait for this waiter. (Inherited from IWaiter<C>) |
Waits | (Inherited from IFiber<C>) |
Methods
Done() | (Inherited from IFiber<C>) |
PollAsync(C, CancellationToken) | |
Push() | (Inherited from IFiber<C>) |
Extension Methods
Call<C,T>(IFiber<C>, Rest<C,T>, T) |
Push a frame on the stack, schedule a wait, and immediately satisfy that wait. |
Call<C,T,R>(IFiber<C>, Rest<C,T>, T, Rest<C,R>) |
Scheduled a wait for the return value, then invoke the Call<C,T>(IFiber<C>, Rest<C,T>, T) method. |
Done<C,T>(IFiber<C>, T) |
Remove the frame from the stack, and satisfy the existing wait with the return value. |
Fail<C>(IFiber<C>, Exception) | |
Post<C,T>(IFiber<C>, T) | |
Reset<C>(IFiber<C>) | |
Wait<C,T>(IFiber<C>, Rest<C,T>) |
Without pushing or popping the stack, schedule a wait to be satisfied later. |