C# Класс PortableRx.Reactive.Concurrency.AsyncLock

Asynchronous lock.
Наследование: IDisposable
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

Dispose() публичный Метод

Clears the work items in the queue and drops further work being queued.
public Dispose ( ) : void
Результат void

Wait() публичный Метод

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.
is null.
public Wait ( System.Action action ) : void
action System.Action Action to queue for execution.
Результат void