com.onlineobject.objectnet Namespace

NetworkThreadDispatcher..::..EnqueueAsync Method

Enqueues an Action to be executed asynchronously and returns a Task representing the operation.

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public Task EnqueueAsync(

	Action action

)

Parameters

action
Type: Action
The Action to enqueue.

Return Value

A Task that completes when the action has been executed.