Search
Preparing search index...
The search index is not available
hareactive
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"Future"
Sink
Class Sink<A>
Type parameters
A
Hierarchy
Future
<
A
>
Sink
Implements
Consumer
<
any
>
Index
Constructors
constructor
Properties
listeners
occured
value
Methods
chain
listen
map
map
To
of
push
resolve
subscribe
lift
of
Constructors
constructor
new
Sink
(
)
:
Sink
Returns
Sink
Properties
Protected
listeners
listeners
:
Consumer
<
A
>
[]
occured
occured
:
boolean
value
value
:
A
Methods
chain
chain<B>
(
f
:
function
)
:
Future
<
B
>
Type parameters
B
Parameters
f:
function
(
a
:
A
)
:
Future
<
B
>
Parameters
a:
A
Returns
Future
<
B
>
Returns
Future
<
B
>
listen
listen
(
o
:
Consumer
<
A
>
)
:
void
Parameters
o:
Consumer
<
A
>
Returns
void
map
map<B>
(
f
:
function
)
:
Future
<
B
>
Type parameters
B
Parameters
f:
function
(
a
:
A
)
:
B
Parameters
a:
A
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
:
A
)
:
void
Parameters
val:
A
Returns
void
subscribe
subscribe
(
f
:
function
)
:
void
Parameters
f:
function
(
a
:
A
)
:
void
Parameters
a:
A
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
Future
Lift
Future
Map
Future
Map
ToFuture
Pure
Future
Sink
constructor
listeners
occured
value
chain
listen
map
map
To
of
push
resolve
subscribe
lift
of
Subscription
lift
of
from
Promise
sink
Generated using
TypeDoc