Search
Preparing search index...
The search index is not available
hareactive
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"Stream"
SnapshotWithStream
Class SnapshotWithStream<A, B, C>
Type parameters
A
B
C
Hierarchy
Stream
<
C
>
SnapshotWithStream
Index
Constructors
constructor
Properties
behavior
child
fn
nr
OfListeners
Methods
add
Listener
filter
map
map
To
merge
push
remove
Listener
scan
scanS
subscribe
Constructors
constructor
new
Snapshot
With
Stream
(
fn
:
function
, behavior
:
Behavior
<
B
>
, stream
:
Stream
<
A
>
)
:
SnapshotWithStream
Parameters
fn:
function
(
a
:
A
, b
:
B
)
:
C
Parameters
a:
A
b:
B
Returns
C
behavior:
Behavior
<
B
>
stream:
Stream
<
A
>
Returns
SnapshotWithStream
Properties
Private
behavior
behavior
:
Behavior
<
B
>
child
child
:
Consumer
<
C
>
Private
fn
fn
:
function
Type declaration
(
a
:
A
, b
:
B
)
:
C
Parameters
a:
A
b:
B
Returns
C
nr
OfListeners
nr
OfListeners
:
number
Methods
add
Listener
add
Listener
(
c
:
Consumer
<
C
>
)
:
void
Parameters
c:
Consumer
<
C
>
Returns
void
filter
filter
(
fn
:
function
)
:
Stream
<
C
>
Parameters
fn:
function
(
a
:
C
)
:
boolean
Parameters
a:
C
Returns
boolean
Returns
Stream
<
C
>
map
map<B>
(
fn
:
function
)
:
Stream
<
B
>
Type parameters
B
Parameters
fn:
function
(
a
:
C
)
:
B
Parameters
a:
C
Returns
B
Returns
Stream
<
B
>
map
To
map
To<B>
(
val
:
B
)
:
Stream
<
B
>
Type parameters
B
Parameters
val:
B
Returns
Stream
<
B
>
merge
merge<B>
(
otherStream
:
Stream
<
B
>
)
:
Stream
<
A
|
B
>
Type parameters
B
Parameters
otherStream:
Stream
<
B
>
Returns
Stream
<
A
|
B
>
push
push
(
a
:
A
)
:
void
Parameters
a:
A
Returns
void
remove
Listener
remove
Listener
(
listener
:
Consumer
<
any
>
)
:
void
Parameters
listener:
Consumer
<
any
>
Returns
void
scan
scan<B>
(
fn
:
function
, init
:
B
)
:
Behavior
<
Behavior
<
B
>
>
Type parameters
B
Parameters
fn:
function
(
a
:
C
, b
:
B
)
:
B
Parameters
a:
C
b:
B
Returns
B
init:
B
Returns
Behavior
<
Behavior
<
B
>
>
scanS
scanS<B>
(
fn
:
function
, startingValue
:
B
)
:
Behavior
<
Stream
<
B
>
>
Type parameters
B
Parameters
fn:
function
(
a
:
C
, b
:
B
)
:
B
Parameters
a:
C
b:
B
Returns
B
startingValue:
B
Returns
Behavior
<
Stream
<
B
>
>
subscribe
subscribe
(
fn
:
function
)
:
Consumer
<
C
>
Parameters
fn:
function
(
a
:
C
)
:
void
Parameters
a:
C
Returns
void
Returns
Consumer
<
C
>
Globals
"
Behavior"
"
Future"
"
Now"
"
Stream"
"frp-
common"
Changes
Stream
Filter
Stream
Map
Stream
Map
ToStream
Scan
Stream
Sink
Stream
Snapshot
Stream
Snapshot
With
Stream
constructor
behavior
child
fn
nr
OfListeners
add
Listener
filter
map
map
To
merge
push
remove
Listener
scan
scanS
subscribe
Stream
Switch
Behavior
Stream
Switch
Outer
changes
empty
filter
is
Stream
map
merge
merge
List
publish
scanS
snapshot
snapshot
With
subscribe
switch
Stream
Generated using
TypeDoc