C# 클래스 PortableRx.Reactive.Concurrency.AsyncLock

Asynchronous lock.
상속: IDisposable
파일 보기 프로젝트 열기: robfe/PortableRx

공개 메소드들

메소드 설명
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