Method | Description | |
---|---|---|
Dispose ( ) : void |
Clears the work items in the queue and drops further work being queued.
|
|
Wait ( System.Action action ) : void |
Queues the action for execution. If the caller acquires the lock and becomes the owner, the queue is processed. If the lock is already owned, the action is queued and will get processed by the owner.
|
public Wait ( System.Action action ) : void | ||
action | System.Action | Action to queue for execution. |
return | void |