sealed trait Signal extends AnyRef
Value used by Transformer.Handler
to indicate to its upstream producer
whether or not the handler wants to continue receiving values.
- Source
- Signal.scala
- Alphabetic
- By Inheritance
- Signal
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Abstract Value Members
- abstract def isStop: Boolean
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def &&(that: Signal): Signal
Returns
Signal.Stop
if boththis
andthat
are the "stop" signal - def +(other: String): String
- def ->[B](y: B): (Signal, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def ensuring(cond: (Signal) => Boolean, msg: => Any): Signal
- def ensuring(cond: (Signal) => Boolean): Signal
- def ensuring(cond: Boolean, msg: => Any): Signal
- def ensuring(cond: Boolean): Signal
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
- def ||(that: => Signal): Signal
Returns
Signal.Stop
if at least one ofthis
orthat
are the "stop" signal.Returns
Signal.Stop
if at least one ofthis
orthat
are the "stop" signal. Uses call-by-name semantics onthat
, to support short-circuiting evaluation in casethis
is known to be aStop
. E.g.out.push(1) || out.push(2)
Where if the
out.push(1)
call returnsStop
, theout.push(2)
expression will not be run.
Deprecated Value Members
- def →[B](y: B): (Signal, B)
- Implicit
- This member is added by an implicit conversion from Signal toArrowAssoc[Signal] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.