AsyncResult<T>

Overview

Location

  • Reference:
    • RemObjects.Elements.EUnit.dll  .NET, .NET Standard 2.0
    • remobjects.elements.eunit.jar  Cooper
    • EUnit.fx  Island, macOS
    • libEUnit.fx  Toffee
  • Namespace: RemObjects.Elements.EUnit
  • Platforms: .NET, .NET Standard 2.0, Cooper, Island, macOS, Toffee


Properties


Exception  virtual

 

property Exception: Exception read;

 

Exception Exception { get; }

 

// .NET, .NET Standard 2.0, Island, macOS
var Exception: Exception { get{} }
// Toffee
var Exception: NSException { get{} }

 

Exception Exception { __get; }

 

ReadOnly Property Exception() As Exception

Result  virtual

 

property Result: T read;

 

T Result { get; }

 

var Result: T { get{} }

 

T Result { __get; }

 

ReadOnly Property Result() As T

State  virtual

 

property State: AsyncState read;

 

AsyncState State { get; }

 

var State: AsyncState { get{} }

 

AsyncState State { __get; }

 

ReadOnly Property State() As AsyncState

Class Methods


Completed<T>  virtual

 

class method Completed<T>(aResult: T): AsyncResult<T>

 

static AsyncResult<T> Completed<T>(T aResult)

 

static func Completed<T>(_ aResult: T) -> AsyncResult<T>

 

static AsyncResult<T> Completed<T>(T aResult)

 

Shared Function Completed<T>(aResult As T) As AsyncResult<T>

Parameters:

  • aResult:

Failed<T>  virtual

 

class method Failed<T>(anException: Exception): AsyncResult<T>

 

static AsyncResult<T> Failed<T>(Exception anException)

 

static func Failed<T>(_ anException: NSException) -> AsyncResult<T>

 

static AsyncResult<T> Failed<T>(Exception anException)

 

Shared Function Failed<T>(anException As Exception) As AsyncResult<T>

Parameters:

  • anException: