Search
Preparing search index...
The search index is not available
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
fm
icelink
Future
Class Future<T>
Type parameters
T
Hierarchy
FutureBase
<
T
>
Future
Index
Constructors
constructor
Methods
fail
get
Exception
get
Result
get
State
get
Type
String
set
Exception
set
Result
set
State
then
Constructors
constructor
new
Future
(
)
:
Future
Returns
Future
Methods
Abstract
fail
fail
(
rejectAction
:
IAction1
<
Exception
>
)
:
Future
<
T
>
Parameters
rejectAction:
IAction1
<
Exception
>
Returns
Future
<
T
>
get
Exception
get
Exception
(
)
:
Exception
Gets the exception if rejected.
Returns
Exception
get
Result
get
Result
(
)
:
T
Gets the result if resolved.
Returns
T
get
State
get
State
(
)
:
FutureState
Gets the current state.
Returns
FutureState
get
Type
String
get
Type
String
(
)
:
string
Returns
string
Protected
set
Exception
set
Exception
(
value
:
Exception
)
:
void
Sets the exception if rejected.
Parameters
value:
Exception
Returns
void
Protected
set
Result
set
Result
(
value
:
T
)
:
void
Sets the result if resolved.
Parameters
value:
T
Returns
void
Protected
set
State
set
State
(
value
:
FutureState
)
:
void
Sets the current state.
Parameters
value:
FutureState
Returns
void
Abstract
then
then<R>
(
resolve
:
IAction1
<
T
>
|
IFunction1
<
T
,
Future
<
R
>
>
)
:
Future
<
R
>
then<R>
(
resolve
:
IAction1
<
T
>
|
IFunction1
<
T
,
Future
<
R
>
>
, reject
:
IAction1
<
Exception
>
)
:
Future
<
R
>
Type parameters
R
Parameters
resolve:
IAction1
<
T
>
|
IFunction1
<
T
,
Future
<
R
>
>
Returns
Future
<
R
>
Type parameters
R
Parameters
resolve:
IAction1
<
T
>
|
IFunction1
<
T
,
Future
<
R
>
>
reject:
IAction1
<
Exception
>
Returns
Future
<
R
>
Future
constructor
fail
get
Exception
get
Result
get
State
get
Type
String
set
Exception
set
Result
set
State
then