Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
future
Future
Class Future
Index
Constructor methods
constructor
Methods
detach
get
isResolved
proxy
proxyErrors
resolve
resolveSuccess
resolver
return
throw
wait
wait
wrap
Constructor methods
constructor
(
)
:
Future
Returns
Future
Methods
public
detach
(
)
public
get
(
)
:
any
Returns
any
public
isResolved
(
)
:
boolean
Returns
boolean
public
proxy
(
future
:
Future
)
Parameters
future:
Future
public
proxyErrors
(
futureOrList
:
any
)
:
Future
Parameters
futureOrList:
any
Returns
Future
public
resolve
(
fn
:
Function
)
Parameters
fn:
Function
public
resolveSuccess
(
fn
:
Function
)
Parameters
fn:
Function
public
resolver
(
)
:
Function
Returns
Function
public
return
(
result
?:
any
)
Parameters
result?:
any
optional
public
throw
(
error
:
any
)
Parameters
error:
any
public
wait
(
)
public
static
wait
(
future
:
Future
)
:
any
Parameters
future:
Future
Returns
any
public
static
wait
(
future_list
:
Future
[]
)
:
any
Parameters
future_list:
Future
[]
Returns
any
public
static
wrap
(
fn
:
Function
)
:
Future
Parameters
fn:
Function
Returns
Future
Globals
fibers
future
Future
constructor
detach
get
isResolved
proxy
proxyErrors
resolve
resolveSuccess
resolver
return
throw
wait
wait
wrap