trait BoundHandler[-In] extends HandlerWrite[In]
A Handler
which has been bound to some "downstream" receiver of outputs,
so that the push
and finish
methods will delegate to that downstream rather than
requiring a downstream receiver to be passed as a method parameter.
- In
The handler's input type
- Source
- Transformer.scala
- Alphabetic
- By Inheritance
- BoundHandler
- HandlerWrite
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Abstract Value Members
- abstract def finish(): Unit
In response to the end of the stream of incoming values, this handler may output any number of final output values to its bound "downstream" receiver.
In response to the end of the stream of incoming values, this handler may output any number of final output values to its bound "downstream" receiver. The expectation is that a Handler's
finish
method will only ever be called once before that Handler is discarded, with the exception ofStateless
Transformers, which act as their own Handlers and will be reused. - abstract def push(out: In): Signal
Handle a single output from the upstream handler, signalling whether or not that upstream should continue emitting values.
Handle a single output from the upstream handler, signalling whether or not that upstream should continue emitting values.
- out
The value from the upstream handler
- returns
A "signal" indicating whether this handler wants to continue receiving inputs afterward
- Definition Classes
- HandlerWrite
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from BoundHandler[In] toany2stringadd[BoundHandler[In]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (BoundHandler[In], B)
- Implicit
- This member is added by an implicit conversion from BoundHandler[In] toArrowAssoc[BoundHandler[In]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- 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: (BoundHandler[In]) => Boolean, msg: => Any): BoundHandler[In]
- Implicit
- This member is added by an implicit conversion from BoundHandler[In] toEnsuring[BoundHandler[In]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (BoundHandler[In]) => Boolean): BoundHandler[In]
- Implicit
- This member is added by an implicit conversion from BoundHandler[In] toEnsuring[BoundHandler[In]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): BoundHandler[In]
- Implicit
- This member is added by an implicit conversion from BoundHandler[In] toEnsuring[BoundHandler[In]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): BoundHandler[In]
- Implicit
- This member is added by an implicit conversion from BoundHandler[In] toEnsuring[BoundHandler[In]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- 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
- Implicit
- This member is added by an implicit conversion from BoundHandler[In] toStringFormat[BoundHandler[In]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- 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()
- def pushMany(outs: Iterator[In]): Signal
Convenience for calling
push
multiple times, aborting early if the signal becomesStop
in response to any one push.Convenience for calling
push
multiple times, aborting early if the signal becomesStop
in response to any one push.- outs
An iterator of outputs from the upstream handler, to be pushed into this handler
- returns
A "signal" indicating whether this handler wants to continue receiving inputs afterward
- Definition Classes
- HandlerWrite
- 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()
Deprecated Value Members
- def →[B](y: B): (BoundHandler[In], B)
- Implicit
- This member is added by an implicit conversion from BoundHandler[In] toArrowAssoc[BoundHandler[In]] 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.