fm.liveswitch.FutureState Enum Reference

The state of a future. More...

Public Member Functions

 FutureState (int value)
 
int getAssignedValue ()
 

Static Public Member Functions

 [static initializer]
 
static FutureState getByAssignedValue (int value)
 

Public Attributes

 Pending =(1)
 Indicates that the promise has not been resolved or rejected. More...
 
 Resolved =(2)
 Indicates that the promise has been resolved. More...
 
 Rejected =(3)
 Indicates that the promise has been rejected. More...
 

Detailed Description

The state of a future.

Constructor & Destructor Documentation

◆ FutureState()

fm.liveswitch.FutureState.FutureState ( int  value)

Member Function Documentation

◆ [static initializer]()

fm.liveswitch.FutureState.[static initializer]
static

◆ getAssignedValue()

int fm.liveswitch.FutureState.getAssignedValue ( )

◆ getByAssignedValue()

static FutureState fm.liveswitch.FutureState.getByAssignedValue ( int  value)
static

Member Data Documentation

◆ Pending

fm.liveswitch.FutureState.Pending =(1)

Indicates that the promise has not been resolved or rejected.

◆ Rejected

fm.liveswitch.FutureState.Rejected =(3)

Indicates that the promise has been rejected.

◆ Resolved

fm.liveswitch.FutureState.Resolved =(2)

Indicates that the promise has been resolved.