MicroTask<T>

Overview

Location

 

constructor

 

constructor

 

MicroTask<T>()

 

init()

 

Sub New()

Done    (declared in VoidMicroTask)

 

class property Done: VoidMicroTask read;

 

class VoidMicroTask Done { get; }

 

static var Done: VoidMicroTask { get{} }

 

Shared ReadOnly Property Done() As VoidMicroTask

Exception    (declared in VoidMicroTask)

 

property Exception: Exception read;

 

Exception Exception { get; }

 

var Exception: Exception { get{} }

 

ReadOnly Property Exception() As Exception

GetResult    (declared in VoidMicroTask)

 

method GetResult

 

void GetResult()

 

func GetResult()

 

Sub GetResult()

GetResult

 

method GetResult: T

 

T GetResult()

 

func GetResult() -> T

 

Function GetResult() As T

IsCompleted    (declared in VoidMicroTask)

 

property IsCompleted: Boolean read;

 

Boolean IsCompleted { get; }

 

var IsCompleted: Boolean { get{} }

 

ReadOnly Property IsCompleted() As Boolean

OnComplete    (declared in VoidMicroTask)

 

method OnComplete(callback: IAsyncCompletion)

 

void OnComplete(IAsyncCompletion callback)

 

func OnComplete(_ callback: IAsyncCompletion)

 

Sub OnComplete(callback As IAsyncCompletion)

Parameters:

  • callback:

SetComplete    (declared in VoidMicroTask)

 

method SetComplete

 

void SetComplete()

 

func SetComplete()

 

Sub SetComplete()

SetComplete (T)

 

method SetComplete(value: T)

 

void SetComplete(T value)

 

func SetComplete(_ value: T)

 

Sub SetComplete(value As T)

Parameters:

  • value:

SetException    (declared in VoidMicroTask)

 

method SetException(e: Exception)

 

void SetException(Exception e)

 

func SetException(_ e: Exception)

 

Sub SetException(e As Exception)

Parameters:

  • e:

State    (declared in VoidMicroTask)

 

property State: TaskState read;

 

TaskState State { get; }

 

var State: TaskState { get{} }

 

ReadOnly Property State() As TaskState

Wait    (declared in VoidMicroTask)

 

method Wait

 

void Wait()

 

func Wait()

 

Sub Wait()

 

Exception    (declared in VoidMicroTask)

 

property Exception: Exception read;

 

Exception Exception { get; }

 

var Exception: Exception { get{} }

 

ReadOnly Property Exception() As Exception

IsCompleted    (declared in VoidMicroTask)

 

property IsCompleted: Boolean read;

 

Boolean IsCompleted { get; }

 

var IsCompleted: Boolean { get{} }

 

ReadOnly Property IsCompleted() As Boolean

State    (declared in VoidMicroTask)

 

property State: TaskState read;

 

TaskState State { get; }

 

var State: TaskState { get{} }

 

ReadOnly Property State() As TaskState

Done    (declared in VoidMicroTask)

 

class property Done: VoidMicroTask read;

 

class VoidMicroTask Done { get; }

 

static var Done: VoidMicroTask { get{} }

 

Shared ReadOnly Property Done() As VoidMicroTask

 

constructor

 

constructor

 

MicroTask<T>()

 

init()

 

Sub New()

GetResult    (declared in VoidMicroTask)

 

method GetResult

 

void GetResult()

 

func GetResult()

 

Sub GetResult()

GetResult

 

method GetResult: T

 

T GetResult()

 

func GetResult() -> T

 

Function GetResult() As T

OnComplete    (declared in VoidMicroTask)

 

method OnComplete(callback: IAsyncCompletion)

 

void OnComplete(IAsyncCompletion callback)

 

func OnComplete(_ callback: IAsyncCompletion)

 

Sub OnComplete(callback As IAsyncCompletion)

Parameters:

  • callback:

SetComplete    (declared in VoidMicroTask)

 

method SetComplete

 

void SetComplete()

 

func SetComplete()

 

Sub SetComplete()

SetComplete (T)

 

method SetComplete(value: T)

 

void SetComplete(T value)

 

func SetComplete(_ value: T)

 

Sub SetComplete(value As T)

Parameters:

  • value:

SetException    (declared in VoidMicroTask)

 

method SetException(e: Exception)

 

void SetException(Exception e)

 

func SetException(_ e: Exception)

 

Sub SetException(e As Exception)

Parameters:

  • e:

Wait    (declared in VoidMicroTask)

 

method Wait

 

void Wait()

 

func Wait()

 

Sub Wait()