Search
Preparing search index...
The search index is not available
hareactive
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"Future"
ChainFuture
Class ChainFuture<A, B>
Type parameters
A
B
Hierarchy
Future
<
B
>
ChainFuture
Implements
Consumer
<
any
>
Index
Constructors
constructor
Properties
f
listeners
occured
parent
parent
Occurred
value
Methods
chain
listen
map
map
To
of
push
resolve
subscribe
lift
of
Constructors
constructor
new
Chain
Future
(
f
:
function
, parent
:
Future
<
A
>
)
:
ChainFuture
Parameters
f:
function
(
a
:
A
)
:
Future
<
B
>
Parameters
a:
A
Returns
Future
<
B
>
parent:
Future
<
A
>
Returns
ChainFuture
Properties
Private
f
f
:
function
Type declaration
(
a
:
A
)
:
Future
<
B
>
Parameters
a:
A
Returns
Future
<
B
>
Protected
listeners
listeners
:
Consumer
<
B
>
[]
occured
occured
:
boolean
Private
parent
parent
:
Future
<
A
>
Private
parent
Occurred
parent
Occurred
:
boolean
= false
value
value
:
B
Methods
chain
chain<B>
(
f
:
function
)
:
Future
<
B
>
Type parameters
B
Parameters
f:
function
(
a
:
B
)
:
Future
<
B
>
Parameters
a:
B
Returns
Future
<
B
>
Returns
Future
<
B
>
listen
listen
(
o
:
Consumer
<
B
>
)
:
void
Parameters
o:
Consumer
<
B
>
Returns
void
map
map<B>
(
f
:
function
)
:
Future
<
B
>
Type parameters
B
Parameters
f:
function
(
a
:
B
)
:
B
Parameters
a:
B
Returns
B
Returns
Future
<
B
>
map
To
map
To<B>
(
b
:
B
)
:
Future
<
B
>
Type parameters
B
Parameters
b:
B
Returns
Future
<
B
>
of
of<B>
(
b
:
B
)
:
Future
<
B
>
Type parameters
B
Parameters
b:
B
Returns
Future
<
B
>
push
push
(
val
:
any
)
:
void
Parameters
val:
any
Returns
void
resolve
resolve
(
val
:
B
)
:
void
Parameters
val:
B
Returns
void
subscribe
subscribe
(
f
:
function
)
:
void
Parameters
f:
function
(
a
:
B
)
:
void
Parameters
a:
B
Returns
void
Returns
void
Static
lift
lift<T1, R>
(
f
:
function
, m
:
Future
<
T1
>
)
:
Future
<
R
>
lift<T1, T2, R>
(
f
:
function
, m1
:
Future
<
T1
>
, m2
:
Future
<
T2
>
)
:
Future
<
R
>
lift<T1, T2, T3, R>
(
f
:
function
, m1
:
Future
<
T1
>
, m2
:
Future
<
T2
>
, m3
:
Future
<
T3
>
)
:
Future
<
R
>
Type parameters
T1
R
Parameters
f:
function
(
t
:
T1
)
:
R
Parameters
t:
T1
Returns
R
m:
Future
<
T1
>
Returns
Future
<
R
>
Type parameters
T1
T2
R
Parameters
f:
function
(
t
:
T1
, u
:
T2
)
:
R
Parameters
t:
T1
u:
T2
Returns
R
m1:
Future
<
T1
>
m2:
Future
<
T2
>
Returns
Future
<
R
>
Type parameters
T1
T2
T3
R
Parameters
f:
function
(
t1
:
T1
, t2
:
T2
, t3
:
T3
)
:
R
Parameters
t1:
T1
t2:
T2
t3:
T3
Returns
R
m1:
Future
<
T1
>
m2:
Future
<
T2
>
m3:
Future
<
T3
>
Returns
Future
<
R
>
Static
of
of<B>
(
b
:
B
)
:
Future
<
B
>
Type parameters
B
Parameters
b:
B
Returns
Future
<
B
>
Globals
"
Behavior"
"
Future"
"
Now"
"
Stream"
"frp-
common"
Behavior
Future
Chain
Future
constructor
f
listeners
occured
parent
parent
Occurred
value
chain
listen
map
map
To
of
push
resolve
subscribe
lift
of
Future
Lift
Future
Map
Future
Map
ToFuture
Pure
Future
Sink
Subscription
lift
of
from
Promise
sink
Generated using
TypeDoc