VoidMicroTask

Overview

Location


 

constructor

 

constructor

 

VoidMicroTask()

 

init()

 

Sub New()

Done

 

class property Done: VoidMicroTask read;

 

class VoidMicroTask Done { get; }

 

static var Done: VoidMicroTask { get{} }

 

Shared ReadOnly Property Done() As VoidMicroTask

Exception

 

property Exception: Exception read;

 

Exception Exception { get; }

 

var Exception: Exception { get{} }

 

ReadOnly Property Exception() As Exception

GetResult

 

method GetResult

 

void GetResult()

 

func GetResult()

 

Sub GetResult()

IsCompleted

 

property IsCompleted: Boolean read;

 

Boolean IsCompleted { get; }

 

var IsCompleted: Boolean { get{} }

 

ReadOnly Property IsCompleted() As Boolean

OnComplete

 

method OnComplete(callback: IAsyncCompletion)

 

void OnComplete(IAsyncCompletion callback)

 

func OnComplete(_ callback: IAsyncCompletion)

 

Sub OnComplete(callback As IAsyncCompletion)

Parameters:

  • callback:

SetComplete

 

method SetComplete

 

void SetComplete()

 

func SetComplete()

 

Sub SetComplete()

SetException

 

method SetException(e: Exception)

 

void SetException(Exception e)

 

func SetException(_ e: Exception)

 

Sub SetException(e As Exception)

Parameters:

  • e:

State

 

property State: TaskState read;

 

TaskState State { get; }

 

var State: TaskState { get{} }

 

ReadOnly Property State() As TaskState

Wait

 

method Wait

 

void Wait()

 

func Wait()

 

Sub Wait()

 

Exception

 

property Exception: Exception read;

 

Exception Exception { get; }

 

var Exception: Exception { get{} }

 

ReadOnly Property Exception() As Exception

IsCompleted

 

property IsCompleted: Boolean read;

 

Boolean IsCompleted { get; }

 

var IsCompleted: Boolean { get{} }

 

ReadOnly Property IsCompleted() As Boolean

State

 

property State: TaskState read;

 

TaskState State { get; }

 

var State: TaskState { get{} }

 

ReadOnly Property State() As TaskState

Done

 

class property Done: VoidMicroTask read;

 

class VoidMicroTask Done { get; }

 

static var Done: VoidMicroTask { get{} }

 

Shared ReadOnly Property Done() As VoidMicroTask

 

constructor

 

constructor

 

VoidMicroTask()

 

init()

 

Sub New()

GetResult

 

method GetResult

 

void GetResult()

 

func GetResult()

 

Sub GetResult()

OnComplete

 

method OnComplete(callback: IAsyncCompletion)

 

void OnComplete(IAsyncCompletion callback)

 

func OnComplete(_ callback: IAsyncCompletion)

 

Sub OnComplete(callback As IAsyncCompletion)

Parameters:

  • callback:

SetComplete

 

method SetComplete

 

void SetComplete()

 

func SetComplete()

 

Sub SetComplete()

SetException

 

method SetException(e: Exception)

 

void SetException(Exception e)

 

func SetException(_ e: Exception)

 

Sub SetException(e As Exception)

Parameters:

  • e:

Wait

 

method Wait

 

void Wait()

 

func Wait()

 

Sub Wait()