Click or drag to resize
Akka.NETIDetachedContext Interface
Passed to the callback methods of DetachedStageTIn, TOut. HoldDownstream and HoldUpstream stops execution and at the same time putting the stage in a holding state. If the stage is in a holding state it contains one absorbed signal, therefore in this state the only possible command to call is PushAndPull(Object) which results in two events making the balance right again: 1 hold + 1 external event = 2 external event

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

The IDetachedContext 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
Public propertyIsHoldingDownstream
TBD
Public propertyIsHoldingUpstream
TBD
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 methodHoldDownstream
TBD
Public methodHoldDownstreamAndPull
TBD
Public methodHoldUpstream
TBD
Public methodHoldUpstreamAndPush
TBD
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
Top
See Also