MicroTask<T>
Overview
Location
- Reference: cooper.jar
- Namespace: RemObjects.Elements.MicroTasks
- Ancestry: VoidMicroTask | MicroTask<T>
constructor
constructor
MicroTask<T>()
init()
MicroTask<T>()
Sub New()
Done (declared in VoidMicroTask)
class property Done: VoidMicroTask read;
class VoidMicroTask Done { get; }
static var Done: VoidMicroTask { get{} }
class VoidMicroTask Done { __get; }
Shared ReadOnly Property Done() As VoidMicroTask
Exception (declared in VoidMicroTask)
property Exception: Exception read;
Exception Exception { get; }
var Exception: Exception { get{} }
Exception Exception { __get; }
ReadOnly Property Exception() As Exception
GetResult (declared in VoidMicroTask)
method GetResult
void GetResult()
func GetResult()
void GetResult()
Sub GetResult()
GetResult
method GetResult: T
T GetResult()
func GetResult() -> T
T GetResult()
Function GetResult() As T
IsCompleted (declared in VoidMicroTask)
property IsCompleted: Boolean read;
Boolean IsCompleted { get; }
var IsCompleted: Boolean { get{} }
Boolean IsCompleted { __get; }
ReadOnly Property IsCompleted() As Boolean
OnComplete (declared in VoidMicroTask)
method OnComplete(callback: IAsyncCompletion)
void OnComplete(IAsyncCompletion callback)
func OnComplete(_ callback: IAsyncCompletion)
void OnComplete(IAsyncCompletion callback)
Sub OnComplete(callback As IAsyncCompletion)
Parameters:
- callback:
SetComplete (declared in VoidMicroTask)
method SetComplete
void SetComplete()
func SetComplete()
void SetComplete()
Sub SetComplete()
SetComplete (T)
method SetComplete(value: T)
void SetComplete(T value)
func SetComplete(_ value: T)
void SetComplete(T value)
Sub SetComplete(value As T)
Parameters:
- value:
SetException (declared in VoidMicroTask)
method SetException(e: Exception)
void SetException(Exception e)
func SetException(_ e: Exception)
void SetException(Exception e)
Sub SetException(e As Exception)
Parameters:
- e:
State (declared in VoidMicroTask)
property State: TaskState read;
TaskState State { get; }
var State: TaskState { get{} }
TaskState State { __get; }
ReadOnly Property State() As TaskState
Wait (declared in VoidMicroTask)
method Wait
void Wait()
func Wait()
void Wait()
Sub Wait()
Exception (declared in VoidMicroTask)
property Exception: Exception read;
Exception Exception { get; }
var Exception: Exception { get{} }
Exception Exception { __get; }
ReadOnly Property Exception() As Exception
IsCompleted (declared in VoidMicroTask)
property IsCompleted: Boolean read;
Boolean IsCompleted { get; }
var IsCompleted: Boolean { get{} }
Boolean IsCompleted { __get; }
ReadOnly Property IsCompleted() As Boolean
State (declared in VoidMicroTask)
property State: TaskState read;
TaskState State { get; }
var State: TaskState { get{} }
TaskState State { __get; }
ReadOnly Property State() As TaskState
Done (declared in VoidMicroTask)
class property Done: VoidMicroTask read;
class VoidMicroTask Done { get; }
static var Done: VoidMicroTask { get{} }
class VoidMicroTask Done { __get; }
Shared ReadOnly Property Done() As VoidMicroTask
constructor
constructor
MicroTask<T>()
init()
MicroTask<T>()
Sub New()
GetResult (declared in VoidMicroTask)
method GetResult
void GetResult()
func GetResult()
void GetResult()
Sub GetResult()
GetResult
method GetResult: T
T GetResult()
func GetResult() -> T
T GetResult()
Function GetResult() As T
OnComplete (declared in VoidMicroTask)
method OnComplete(callback: IAsyncCompletion)
void OnComplete(IAsyncCompletion callback)
func OnComplete(_ callback: IAsyncCompletion)
void OnComplete(IAsyncCompletion callback)
Sub OnComplete(callback As IAsyncCompletion)
Parameters:
- callback:
SetComplete (declared in VoidMicroTask)
method SetComplete
void SetComplete()
func SetComplete()
void SetComplete()
Sub SetComplete()
SetComplete (T)
method SetComplete(value: T)
void SetComplete(T value)
func SetComplete(_ value: T)
void SetComplete(T value)
Sub SetComplete(value As T)
Parameters:
- value:
SetException (declared in VoidMicroTask)
method SetException(e: Exception)
void SetException(Exception e)
func SetException(_ e: Exception)
void SetException(Exception e)
Sub SetException(e As Exception)
Parameters:
- e:
Wait (declared in VoidMicroTask)
method Wait
void Wait()
func Wait()
void Wait()
Sub Wait()