Interface IInHandler
Collection of callbacks for an input port of a GraphStage<TShape>
Namespace: Akka.Streams.Stage
Assembly: Akka.Streams.dll
Syntax
public interface IInHandler
Methods
| Improve this Doc View SourceOnPush()
Called when the input port has a new element available. The actual element can be retrieved via the Grab<T>(Inlet<T>) method.
Declaration
void OnPush()
OnUpstreamFailure(Exception)
Called when the input port has failed. After this callback no other callbacks will be called for this port.
Declaration
void OnUpstreamFailure(Exception e)
Parameters
Type | Name | Description |
---|---|---|
Exception | e | TBD |
OnUpstreamFinish()
Called when the input port is finished. After this callback no other callbacks will be called for this port.
Declaration
void OnUpstreamFinish()