Skip to content

Methods_T_CodeJam_Threading_AsyncOperationHelper

Andrew Koryavchenko edited this page Jul 4, 2017 · 3 revisions

AsyncOperationHelper Methods

The AsyncOperationHelper type exposes the following members.

Methods

 

Name Description
Public method Static member CreateOperation Returns an AsyncOperation for tracking the duration of a particular asynchronous operation.
Public method Static member Post Invokes a runner on the thread or context appropriate for the application model.
Public method Static member PostOperationCompleted Ends the lifetime of an asynchronous operation.
Public method Static member RunAsync(Action(AsyncOperation)) Gets thread from pool and run runner inside it.
Public method Static member RunAsync(Action(AsyncOperation), Action) Gets thread from pool and run runner inside it.
Public method Static member Send(AsyncOperation, Action) Invokes a runner on the thread or context appropriate for the application model and waits for it completion.
Public method Static member Send(T)(AsyncOperation, Func(T)) Invokes a runner on the thread or context appropriate for the application model and returns result.
  Back to Top

See Also

Reference

AsyncOperationHelper Class
CodeJam.Threading Namespace

Clone this wiki locally