Search
Preparing search index...
The search index is not available
hareactive
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"Stream"
ScanStream
Class ScanStream<A, B>
Type parameters
A
B
Hierarchy
Stream
<
B
>
ScanStream
Index
Constructors
constructor
Properties
child
fn
last
nr
OfListeners
Methods
add
Listener
filter
map
map
To
merge
push
remove
Listener
scan
scanS
subscribe
Constructors
constructor
new
Scan
Stream
(
fn
:
function
, last
:
B
, source
:
Stream
<
A
>
)
:
ScanStream
Parameters
fn:
function
(
a
:
A
, b
:
B
)
:
B
Parameters
a:
A
b:
B
Returns
B
last:
B
source:
Stream
<
A
>
Returns
ScanStream
Properties
child
child
:
Consumer
<
B
>
Private
fn
fn
:
function
Type declaration
(
a
:
A
, b
:
B
)
:
B
Parameters
a:
A
b:
B
Returns
B
Private
last
last
:
B
nr
OfListeners
nr
OfListeners
:
number
Methods
add
Listener
add
Listener
(
c
:
Consumer
<
B
>
)
:
void
Parameters
c:
Consumer
<
B
>
Returns
void
filter
filter
(
fn
:
function
)
:
Stream
<
B
>
Parameters
fn:
function
(
a
:
B
)
:
boolean
Parameters
a:
B
Returns
boolean
Returns
Stream
<
B
>
map
map<B>
(
fn
:
function
)
:
Stream
<
B
>
Type parameters
B
Parameters
fn:
function
(
a
:
B
)
:
B
Parameters
a:
B
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
:
B
, b
:
B
)
:
B
Parameters
a:
B
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
:
B
, b
:
B
)
:
B
Parameters
a:
B
b:
B
Returns
B
startingValue:
B
Returns
Behavior
<
Stream
<
B
>
>
subscribe
subscribe
(
fn
:
function
)
:
Consumer
<
B
>
Parameters
fn:
function
(
a
:
B
)
:
void
Parameters
a:
B
Returns
void
Returns
Consumer
<
B
>
Globals
"
Behavior"
"
Future"
"
Now"
"
Stream"
"frp-
common"
Changes
Stream
Filter
Stream
Map
Stream
Map
ToStream
Scan
Stream
constructor
child
fn
last
nr
OfListeners
add
Listener
filter
map
map
To
merge
push
remove
Listener
scan
scanS
subscribe
Sink
Stream
Snapshot
Stream
Snapshot
With
Stream
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