Share via


IFiber<C> Interface

Definition

public interface IFiber<C> : Microsoft.Bot.Builder.Internals.Fibers.IWaiter<C>
type IFiber<'C> = interface
    interface IWaiter<'C>
Public Interface IFiber(Of C)
Implements IWaiter(Of C)

Type Parameters

C
Derived
Implements

Properties

Frames
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

Methods

Done()
Push()

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.

Applies to