Skip to content

M_CodeJam_Threading_AsyncOperationHelper_RunAsync

Andrew Koryavchenko edited this page Jun 17, 2018 · 6 revisions

AsyncOperationHelper.RunAsync Method (Action(AsyncOperation))

Gets thread from pool and run runner inside it.

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

Syntax

C#

public static void RunAsync(
	Action<AsyncOperation> runner
)

VB

Public Shared Sub RunAsync ( 
	runner As Action(Of AsyncOperation)
)

F#

static member RunAsync : 
        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