PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Threading Namespace / Actor­Dispatcher Class / Actor­Dispatcher Methods / Actor­Dispatcher.​Process­Queue Method

ActorDispatcher.ProcessQueue Method

Processes the message queue synchronously.

Namespace:  PostSharp.Patterns.Threading
Assembly:  PostSharp.Patterns.Threading (in PostSharp.Patterns.Threading.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
protected void ProcessQueue()
Remarks

This method can be invoked by an overridden implementation of the ScheduleProcessQueue() method.

This method will process all messages until the queue is empty, unless the overridden implementation of MustYield(Int32) returns false.

See Also