 | GraphStageLogic.GetAsyncCallback<T> Method (Action<T>) |
Obtain a callback object that can be used asynchronously to re-enter the
current
GraphStage< TShape> with an asynchronous notification. The delegate returned
is safe to be called from other threads and it will in the background thread-safely
delegate to the passed callback function. I.e. it will be called by the external world and
the passed handler will be invoked eventually in a thread-safe way by the execution environment.
This object can be cached and reused within the same
GraphStageLogic.
Namespace:
Akka.Streams.Stage
Assembly:
Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntaxprotected Action<T> GetAsyncCallback<T>(
Action<T> handler
)
member GetAsyncCallback :
handler : Action<'T> -> Action<'T>
Parameters
- handler
- Type: System.Action<T>
TBD
Type Parameters
- T
- TBD
Return Value
Type:
Action<T>TBD
See Also