Click or drag to resize
Akka.NETIAsyncContext Interface
This kind of context is available to IAsyncContextTOut, TExt. It implements the same interface as for IDetachedContext with the addition of being able to obtain AsyncCallback objects that allow the registration of asynchronous notifications.

Namespace:  Akka.Streams.Stage
Assembly:  Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public interface IAsyncContext : IDetachedContext, 
	IContext, ILifecycleContext

The IAsyncContext type exposes the following members.

Properties
  NameDescription
Public propertyAttributes
Returns operation attributes associated with the this Stage
(Inherited from ILifecycleContext.)
Public propertyIsFinishing (Inherited from IContext.)
Public propertyIsHoldingBoth (Inherited from IDetachedContext.)
Public propertyIsHoldingDownstream
TBD
(Inherited from IDetachedContext.)
Public propertyIsHoldingUpstream
TBD
(Inherited from IDetachedContext.)
Public propertyMaterializer
Returns the Materializer that was used to materialize this Stage/>. It can be used to materialize sub-flows.
(Inherited from ILifecycleContext.)
Top
Methods
  NameDescription
Public methodAbsorbTermination
Puts the stage in a finishing state so that final elements can be pushed from onPull.
(Inherited from IContext.)
Public methodFail
Cancel upstreams and complete downstreams with failure.
(Inherited from IContext.)
Public methodFinish
Cancel upstreams and complete downstreams successfully.
(Inherited from IContext.)
Public methodGetAsyncCallback
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.
Public methodHoldDownstream
TBD
(Inherited from IDetachedContext.)
Public methodHoldDownstreamAndPull
TBD
(Inherited from IDetachedContext.)
Public methodHoldUpstream
TBD
(Inherited from IDetachedContext.)
Public methodHoldUpstreamAndPush
TBD
(Inherited from IDetachedContext.)
Public methodIgnore
In response to an asynchronous notification an IAsyncContextTOut, TExt may choose to neither push nor pull nor terminate, which is represented as this directive.
Public methodPull
Request for more elements from upstreams.
(Inherited from IContext.)
Public methodPush
Push one element to downstreams.
(Inherited from IContext.)
Public methodPushAndFinish
Push one element to downstream immediately followed by cancel of upstreams and complete of downstreams.
(Inherited from IContext.)
Public methodPushAndPull
TBD
(Inherited from IDetachedContext.)
Top
See Also