Documentation
Preparing search index...
@futuremachine/core
Future
Class Future<T>
Type Parameters
T
extends
Serializable
Implements
SerializableObject
Index
Properties
[
Serializable
Object
Branding]
Methods
[
Future
Get
Impl]
catch
finally
get
Promise
next
[
Future
Create]
Properties
[
Serializable
Object
Branding]
"[SerializableObjectBranding]"
:
undefined
= undefined
Methods
[
Future
Get
Impl]
"[FutureGetImpl]"
()
:
FutureImpl
<
T
>
Returns
FutureImpl
<
T
>
catch
catch
<
R
extends
Serializable
>
(
onRejected
?:
OnRejectMethod
<
R
>
)
:
Future
<
R
>
Type Parameters
R
extends
Serializable
Parameters
Optional
onRejected
:
OnRejectMethod
<
R
>
Returns
Future
<
R
>
finally
finally
(
onFinally
?:
OnFinallyMethod
)
:
Future
<
T
>
Parameters
Optional
onFinally
:
OnFinallyMethod
Returns
Future
<
T
>
get
Promise
getPromise
()
:
Promise
<
T
>
Returns
Promise
<
T
>
next
next
<
R1
extends
Serializable
=
T
,
R2
extends
Serializable
=
never
>
(
onFulfilled
?:
OnFulfillMethod
<
T
,
R1
>
,
onRejected
?:
OnRejectMethod
<
R2
>
,
)
:
Future
<
R1
|
R2
>
Type Parameters
R1
extends
Serializable
=
T
R2
extends
Serializable
=
never
Parameters
Optional
onFulfilled
:
OnFulfillMethod
<
T
,
R1
>
Optional
onRejected
:
OnRejectMethod
<
R2
>
Returns
Future
<
R1
|
R2
>
Static
[
Future
Create]
"[FutureCreate]"
<
T
extends
Serializable
>
(
impl
:
FutureImpl
<
T
>
)
:
Future
<
T
>
Type Parameters
T
extends
Serializable
Parameters
impl
:
FutureImpl
<
T
>
Returns
Future
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
[
Serializable
Object
Branding]
Methods
[
Future
Get
Impl]
catch
finally
get
Promise
next
[
Future
Create]
Documentation
Loading...