HandlerWrite
Represents the "downstream" of a handler.
Whenever a handler is told to push
or finish
, it uses a HandlerWrite to receive its output.
A HandlerWrite could be an object that collects the values to a buffer which you can manually inspect later (see BoundHandler.ToBuilder),
or a wrapper around some secondary Handler i.e. the next transformation step.
- Type parameters:
- Out
The output event type from the upstream handler, which acts as the input to this receiver
Value members
Abstract methods
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
- Returns:
A "signal" indicating whether this handler wants to continue receiving inputs afterward
Concrete methods
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
- Returns:
A "signal" indicating whether this handler wants to continue receiving inputs afterward