HandlerProtect

class HandlerProtect[In, Out](inner: Handler[In, Out]) extends Handler[In, Out]
trait Handler[In, Out]
class Object
trait Matchable
class Any

Value members

Concrete methods

override def bubbleUp(err: Throwable): Nothing
Definition Classes
def finish(out: HandlerWrite[Out]): Unit
def push(in: In, out: HandlerWrite[Out]): Signal

Inherited methods

Wraps this handler as a "top level" handler, which will inject a SpacTraceElement (representing the current input or the "EOF" signal) to any exception is thrown by this handler when calling its step or finish methods.

Wraps this handler as a "top level" handler, which will inject a SpacTraceElement (representing the current input or the "EOF" signal) to any exception is thrown by this handler when calling its step or finish methods.

Used internally by Transformers transform and toPipe methods.

Inherited from:
Handler
def pushMany(ins: Iterator[In], out: HandlerWrite[Out]): Signal

Convenience for calling push multiple times, aborting early if the signal becomes Stop in response to any one push.

Convenience for calling push multiple times, aborting early if the signal becomes Stop in response to any one push.

Value parameters:
ins

An iterator which produces input values to push into this handler

out

The downstream receiver of output values

Returns:

A "signal" indicating whether this handler wants to continue receiving inputs afterward

Inherited from:
Handler