Static

io.dylemma.spac.impl.HandlerBind.Static
class Static[-In, Out](val self: Handler[In, Out], val downstreamWrite: BoundHandler[Out]) extends HandlerBind[In, Out]

Attributes

Graph
Supertypes
trait HandlerBind[In, Out]
trait BoundHandler[In]
trait HandlerWrite[In]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

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. The expectation is that a Handler's finish method will only ever be called once before that Handler is discarded, with the exception of Stateless Transformers, which act as their own Handlers and will be reused.

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 of Stateless Transformers, which act as their own Handlers and will be reused.

Attributes

Inherited from:
HandlerBind
def push(in: 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.

Value parameters

out

The value from the upstream handler

Attributes

Returns

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

Inherited from:
HandlerBind
def pushMany(outs: Iterator[In]): 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

outs

An iterator of outputs from the upstream handler, to be pushed into this handler

Attributes

Returns

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

Inherited from:
HandlerWrite