ResultAwaiter<T>

Overview

Location

Properties


IsCompleted

 

property IsCompleted: Boolean read;

 

Boolean IsCompleted { get; }

 

var IsCompleted: Boolean { get{} }

 

ReadOnly Property IsCompleted() As Boolean

Instance Methods


constructor

 

constructor(t: MicroTask<T>; value: T)

 

ResultAwaiter<T>(MicroTask<T> t, T value)

 

init(_ t: MicroTask<T>, _ value: T)

 

Sub New(t As MicroTask<T>, value As T)

Parameters:

  • t:
  • value:

GetResult

 

method GetResult: T

 

T GetResult()

 

func GetResult() -> T

 

Function GetResult() As T

OnCompleted

 

method OnCompleted(continuation: Action)

 

void OnCompleted(Action continuation)

 

func OnCompleted(_ continuation: Action)

 

Sub OnCompleted(continuation As Action)

Parameters:

  • continuation: