Dispatchers..::..FromCurrentSynchronizationContext Method

Gets the MessageDispatcher for the current SynchronizationContext. Use this when scheduling actors in a UI thread.

Namespace:  Akka.Dispatch
Assembly:  Akka (in Akka.dll)

Syntax


public static MessageDispatcher FromCurrentSynchronizationContext()
Public Shared Function FromCurrentSynchronizationContext As MessageDispatcher
public:
static MessageDispatcher^ FromCurrentSynchronizationContext()

Return Value

MessageDispatcher.