Skip to content

M_CodeJam_Threading_AsyncOperationHelper_RunAsync

andrewvk edited this page Mar 31, 2016 · 6 revisions

AsyncOperationHelper.RunAsync Method (Action(AsyncOperation))

[This is preliminary documentation and is subject to change.]

Gets thread from pool and run runner inside it.

Namespace: CodeJam.Threading
Assembly: CodeJam (in CodeJam.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public static void RunAsync(
	[NotNullAttribute] Action<AsyncOperation> runner
)

VB

Public Shared Sub RunAsync ( 
	<NotNullAttribute> runner As Action(Of AsyncOperation)
)

F#

static member RunAsync : 
        [<NotNullAttribute>] runner : Action<AsyncOperation> -> unit 

Parameters

 

runner
Type: System.Action(AsyncOperation)
Action to run inside created thread

See Also

Reference

AsyncOperationHelper Class
RunAsync Overload
CodeJam.Threading Namespace

Clone this wiki locally