DispatchersFromCurrentSynchronizationContext Method |
Gets the MessageDispatcher for the current SynchronizationContext.
Use this when scheduling actors in a UI thread.
Namespace: Akka.DispatchAssembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntaxpublic static MessageDispatcher FromCurrentSynchronizationContext()
Public Shared Function FromCurrentSynchronizationContext As MessageDispatcher
public:
static MessageDispatcher^ FromCurrentSynchronizationContext()
static member FromCurrentSynchronizationContext : unit -> MessageDispatcher
Return Value
Type:
MessageDispatcherMessageDispatcher.
See Also