IExecutionContext

Represents an execution context upon which work can be synchronized.

public interface IExecutionContext

EnqueueAction(ExecutionContextExecuteCallback)

Section titled "EnqueueAction(ExecutionContextExecuteCallback)"

Enqueues the requested callback on the context to be executed at earliest opportunity.

EnqueueAction(ExecutionContextExecuteCallback): any

EnqueueAnimationAction(ExecutionContextExecuteCallback)

Section titled "EnqueueAnimationAction(ExecutionContextExecuteCallback)"

Enqueues the requested callback on the context to be executed at earliest opportunity, to be used for animation.

EnqueueAnimationAction(ExecutionContextExecuteCallback): any

Execute(ExecutionContextExecuteCallback)

Section titled "Execute(ExecutionContextExecuteCallback)"

Executes the requested callback on the context.

Execute(ExecutionContextExecuteCallback): any

ExecuteDelayed(ExecutionContextExecuteCallback, int)

Section titled "ExecuteDelayed(ExecutionContextExecuteCallback, int)"

Enqueues the requested callback on the context to be executed after at least the specified delay.

ExecuteDelayed(ExecutionContextExecuteCallback, int): any

Gets the current relative time in milliseconds that has elapsed since the execution context was created.

GetCurrentRelativeTime(): any