IAsyncContextTOut, TExt Interface |
Namespace: Akka.Streams.Stage
public interface IAsyncContext<in TOut, in TExt> : IAsyncContext, IDetachedContext, IContext, ILifecycleContext, IDetachedContext<TOut>, IContext<TOut>
The IAsyncContextTOut, TExt type exposes the following members.
Name | Description | |
---|---|---|
Attributes |
Returns operation attributes associated with the this Stage
(Inherited from ILifecycleContext.) | |
IsFinishing |
This returns true after AbsorbTermination has been used.
(Inherited from IContext.) | |
IsHoldingBoth |
This returns true when HoldDownstream and HoldUpstream has been used
and it is reset to false after PushAndPull(Object).
(Inherited from IDetachedContext.) | |
IsHoldingDownstream |
TBD
(Inherited from IDetachedContext.) | |
IsHoldingUpstream |
TBD
(Inherited from IDetachedContext.) | |
Materializer |
Returns the Materializer that was used to materialize this Stage/>.
It can be used to materialize sub-flows.
(Inherited from ILifecycleContext.) |
Name | Description | |
---|---|---|
AbsorbTermination |
Puts the stage in a finishing state so that
final elements can be pushed from onPull.
(Inherited from IContext.) | |
Fail |
Cancel upstreams and complete downstreams with failure.
(Inherited from IContext.) | |
Finish |
Cancel upstreams and complete downstreams successfully.
(Inherited from IContext.) | |
GetAsyncCallback |
Obtain a callback object that can be used asynchronously to re-enter the
current IAsyncContextTOut, TExt with an asynchronous notification. After the
notification has been invoked, eventually OnAsyncInput
will be called with the given data item.
This object can be cached and reused within the same IAsyncContextTOut, TExt.
| |
HoldDownstream |
TBD
(Inherited from IDetachedContext.) | |
HoldDownstreamAndPull |
TBD
(Inherited from IDetachedContext.) | |
HoldUpstream |
TBD
(Inherited from IDetachedContext.) | |
HoldUpstreamAndPush(Object) |
TBD
(Inherited from IDetachedContext.) | |
HoldUpstreamAndPush(TOut) |
TBD
(Inherited from IDetachedContextTOut.) | |
Ignore |
In response to an asynchronous notification an IAsyncContextTOut, TExt may choose
to neither push nor pull nor terminate, which is represented as this directive.
(Inherited from IAsyncContext.) | |
Pull |
Request for more elements from upstreams.
(Inherited from IContext.) | |
Push(Object) |
Push one element to downstreams.
(Inherited from IContext.) | |
Push(TOut) |
Push one element to downstreams.
(Inherited from IContextTOut.) | |
PushAndFinish(Object) |
Push one element to downstream immediately followed by
cancel of upstreams and complete of downstreams.
(Inherited from IContext.) | |
PushAndFinish(TOut) |
Push one element to downstream immediately followed by
cancel of upstreams and complete of downstreams.
(Inherited from IContextTOut.) | |
PushAndPull(Object) |
TBD
(Inherited from IDetachedContext.) | |
PushAndPull(TOut) |
TBD
(Inherited from IDetachedContextTOut.) |