-
Notifications
You must be signed in to change notification settings - Fork 34
T_CodeJam_Threading_AsyncOperationHelper
andrewvk edited this page Mar 31, 2016
·
7 revisions
[This is preliminary documentation and is subject to change.]
Extension and utility methods for AsyncOperationManager ans AsyncOperation
System.Object
CodeJam.Threading.AsyncOperationHelper
Namespace: CodeJam.Threading
Assembly: CodeJam (in CodeJam.dll) Version: 1.0.0.0 (1.0.0.0)
C#
[PublicAPIAttribute]
public static class AsyncOperationHelperVB
<ExtensionAttribute>
<PublicAPIAttribute>
Public NotInheritable Class AsyncOperationHelperF#
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
[<PublicAPIAttribute>]
type AsyncOperationHelper = class endThe AsyncOperationHelper type exposes the following members.
| Name | Description | |
|---|---|---|
![]()
|
CreateOperation | Returns an AsyncOperation for tracking the duration of a particular asynchronous operation. |
![]()
|
Post | Invokes a runner on the thread or context appropriate for the application model. |
![]()
|
PostOperationCompleted | Ends the lifetime of an asynchronous operation. |
![]()
|
RunAsync(Action(AsyncOperation)) | Gets thread from pool and run runner inside it. |
![]()
|
RunAsync(Action(AsyncOperation), Action) | Gets thread from pool and run runner inside it. |
![]()
|
Send(AsyncOperation, Action) | Invokes a runner on the thread or context appropriate for the application model and waits for it completion. |
![]()
|
Send(T)(AsyncOperation, Func(T)) | Invokes a runner on the thread or context appropriate for the application model and returns result. |
