ActorDispatcher Methods |
The ActorDispatcher type exposes the following members.
Name | Description | |
---|---|---|
BeginInvoke |
Queues an action for asynchronous execution.
| |
CheckAccess |
Determines whether the current thread has access to the current dispatcher.
| |
Invoke |
Executes an action synchronously.
| |
MustYield |
Determines whether the ProcessQueue() method should interrupt the processing of the message queue before the queue is empty.
| |
OnQueueEmpty |
Method invoked when the queue becomes empty. The default implementation does not do anything.
| |
ProcessQueue |
Processes the message queue synchronously.
| |
ScheduleProcessQueue |
Schedules the execution of the ProcessQueue(), typically on a worker thread or in the ThreadPool.
The default implementation uses the ThreadPool on platforms that have a thread pool, otherwise it schedules a new Task.
|