Class InHandler
Collection of callbacks for an input port of a GraphStage<TShape>
Inheritance
InHandler
Implements
Inherited Members
Namespace: Akka.Streams.Stage
Assembly: Akka.Streams.dll
Syntax
public abstract class InHandler : 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
public abstract void OnPush()
OnUpstreamFailure(Exception)
Called when the input port has failed. After this callback no other callbacks will be called for this port.
Declaration
public virtual 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
public virtual void OnUpstreamFinish()