Click or drag to resize
Akka.NETGraphStageLogic.Grab<T> Method (Inlet)
Once the callback OnPush() for an input port has been invoked, the element that has been pushed can be retrieved via this method. After Grab< T> (Inlet) has been called the port is considered to be empty, and further calls to Grab< T> (Inlet) will fail until the port is pulled again and a new element is pushed as a response. The method IsAvailable(Inlet) can be used to query if the port has an element that can be grabbed or not.

Namespace:  Akka.Streams.Stage
Assembly:  Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
protected T Grab<T>(
	Inlet inlet
)

Parameters

inlet
Type: Akka.Streams.Inlet
TBD

Type Parameters

T
TBD

Return Value

Type: T
TBD
Exceptions
ExceptionCondition
ArgumentException This exception is thrown when the specified inlet is empty.
See Also