object EventStream
- Alphabetic
- By Inheritance
- EventStream
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def combineSeq[A](streams: Seq[EventStream[A]]): EventStream[Seq[A]]
- Annotations
- @inline()
- val empty: EventStream[Nothing]
Event stream that never emits anything
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fromCustomSource[A](shouldStart: (StartIndex) => Boolean = _ => true, start: (FireValue[A], FireError, GetStartIndex, GetIsStarted) => Unit, stop: (StartIndex) => Unit): EventStream[A]
Easy helper for custom events.
Easy helper for custom events. See CustomStreamSource for docs.
- stop
MUST NOT THROW!
- def fromFuture[A](future: Future[A], emitFutureIfCompleted: Boolean = false): EventStream[A]
- def fromJsPromise[A](promise: Promise[A]): EventStream[A]
- def fromSeq[A](events: Seq[A], emitOnce: Boolean = false): EventStream[A]
- 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.
- def fromTry[A](value: Try[A], emitOnce: Boolean = false): EventStream[A]
- 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.
- def fromValue[A](event: A, emitOnce: Boolean = false): EventStream[A]
- 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.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def merge[A](streams: EventStream[A]*): EventStream[A]
- def mergeSeq[A](streams: Seq[EventStream[A]]): EventStream[A]
- Annotations
- @inline()
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def periodic(intervalMs: Int, emitInitial: Boolean = true, resetOnStop: Boolean = true): PeriodicEventStream[Int]
- def sequence[A](streams: Seq[EventStream[A]]): EventStream[Seq[A]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- implicit def toCombinableStream[A](stream: EventStream[A]): CombinableEventStream[A]
Provides methods on EventStream: combine, combineWith, withCurrentValueOf, sample
- implicit def toDebuggableStream[A](stream: EventStream[A]): DebuggableEventStream[A]
Provides debug* methods on EventStream: debugSpy, debugLogEvents, debugBreakErrors, etc.
- implicit def toEventStreamCompanionCombineSyntax(s: EventStream.type): StaticEventStreamCombineOps.type
Provides methods on EventStream companion object: combine, combineWith
- implicit def toSplittableOneStream[A](stream: EventStream[A]): SplittableOneEventStream[A]
Provides methods on EventStream: splitOne, splitOneIntoSignals
- implicit def toSplittableStream[M[_], Input](stream: EventStream[M[Input]]): SplittableEventStream[M, Input]
Provides methods on EventStream: split, splitOneIntoSignals
- def toString(): String
- Definition Classes
- AnyRef → Any
- implicit def toTupleStream2[T1, T2](stream: EventStream[(T1, T2)]): TupleEventStream2[T1, T2]
- implicit def toTupleStream3[T1, T2, T3](stream: EventStream[(T1, T2, T3)]): TupleEventStream3[T1, T2, T3]
- implicit def toTupleStream4[T1, T2, T3, T4](stream: EventStream[(T1, T2, T3, T4)]): TupleEventStream4[T1, T2, T3, T4]
- implicit def toTupleStream5[T1, T2, T3, T4, T5](stream: EventStream[(T1, T2, T3, T4, T5)]): TupleEventStream5[T1, T2, T3, T4, T5]
- implicit def toTupleStream6[T1, T2, T3, T4, T5, T6](stream: EventStream[(T1, T2, T3, T4, T5, T6)]): TupleEventStream6[T1, T2, T3, T4, T5, T6]
- implicit def toTupleStream7[T1, T2, T3, T4, T5, T6, T7](stream: EventStream[(T1, T2, T3, T4, T5, T6, T7)]): TupleEventStream7[T1, T2, T3, T4, T5, T6, T7]
- implicit def toTupleStream8[T1, T2, T3, T4, T5, T6, T7, T8](stream: EventStream[(T1, T2, T3, T4, T5, T6, T7, T8)]): TupleEventStream8[T1, T2, T3, T4, T5, T6, T7, T8]
- implicit def toTupleStream9[T1, T2, T3, T4, T5, T6, T7, T8, T9](stream: EventStream[(T1, T2, T3, T4, T5, T6, T7, T8, T9)]): TupleEventStream9[T1, T2, T3, T4, T5, T6, T7, T8, T9]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withCallback[A]: (EventStream[A], (A) => Unit)
Create a stream and a callback that, when fired, makes that stream emit.
- def withJsCallback[A]: (EventStream[A], Function1[A, Unit])
Create a stream and a JS callback that, when fired, makes that stream emit.
- def withObserver[A]: (EventStream[A], Observer[A])
Create a stream and an observer that, when receiving an event or an error, makes that stream emit.
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated