Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
EventStream.type
Members list
Value members
Concrete methods
Emit () with a delay (ms
milliseconds after stream is started)
Emit () with a delay (ms
milliseconds after stream is started)
Attributes
Emit event
with a delay (ms
milliseconds after stream is started)
Emit event
with a delay (ms
milliseconds after stream is started)
Attributes
Easy helper for custom events. See CustomStreamSource for docs.
Easy helper for custom events. See CustomStreamSource for docs.
Provide start
and stop
callbacks that will be called when the stream is started and stopped. E.g. create some resource on start, clean it on stop.
The arguments to start
are functions. Call them to do things like emit an event, emit an error, or get some info:
getStartIndex
returns 1
the first time the signal is started, and is incremented every time it is started again after being stopped.
getIsStarted
is a function that you can call any time, including after some delay, to check if the signal is still started, e.g. if you don't want to update the signal's value if the signal is stopped.
Value parameters
- stop
-
MUST NOT THROW!
Attributes
Value parameters
- emitOnce
-
if true, the event will be emitted at most one time. If false, the event will be emitted every time the stream is started.
Attributes
Value parameters
- emitOnce
-
if true, the event will be emitted at most one time. If false, the event will be emitted every time the stream is started.
Attributes
Value parameters
- emitOnce
-
if true, the event will be emitted at most one time. If false, the event will be emitted every time the stream is started.
Attributes
Value parameters
- emitOnce
-
if true, the event will be emitted at most one time. If false, the event will be emitted every time the stream is started.
Attributes
Returns a stream that emits events from all off the streams
, interleaved.
Returns a stream that emits events from all off the streams
, interleaved.
Attributes
Create a stream and a callback that, when fired, makes that stream emit.
Create a stream and a callback that, when fired, makes that stream emit.
Attributes
Create a stream and a JS callback that, when fired, makes that stream emit.
Create a stream and a JS callback that, when fired, makes that stream emit.
Attributes
Create a stream and an observer that, when receiving an event or an error, makes that stream emit.
Create a stream and an observer that, when receiving an event or an error, makes that stream emit.
Attributes
Create a stream of Unit, and a callback that, when fired, makes that stream emit.
Create a stream of Unit, and a callback that, when fired, makes that stream emit.
Attributes
Concrete fields
Event stream that never emits anything
Event stream that never emits anything
Attributes
Implicits
Implicits
Provides methods on stream: splitBoolean
Provides methods on stream: splitBoolean
Attributes
Provides methods on EventStream: combine, combineWith, withCurrentValueOf, sample
Provides methods on EventStream: combine, combineWith, withCurrentValueOf, sample
Attributes
Provides debug* methods on EventStream: debugSpy, debugLogEvents, debugBreakErrors, etc.
Provides debug* methods on EventStream: debugSpy, debugLogEvents, debugBreakErrors, etc.
Attributes
Provides methods on stream: collectLeft, collectRight
Provides methods on stream: collectLeft, collectRight
Attributes
Provides methods on EventStream companion object: combine, combineWith
Provides methods on EventStream companion object: combine, combineWith
Attributes
Provides methods on stream: filterSome, collectSome, splitOption
Provides methods on stream: filterSome, collectSome, splitOption
Attributes
Provides methods on EventStream: splitOne
Provides methods on EventStream: splitOne
Attributes
Provides methods on EventStream: split, splitByIndex
Provides methods on EventStream: split, splitByIndex
Attributes
Provides methods on stream: collectOutput, collectResolved, collectPending, collectPendingInput, splitStatus
Provides methods on stream: collectOutput, collectResolved, collectPending, collectPendingInput, splitStatus
Attributes
Provides methods on stream: collectFailure, collectSuccess
Provides methods on stream: collectFailure, collectSuccess