We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Acquires async lock.
Namespace: CodeJam.ThreadingAssembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public Task<IDisposable> AcquireAsync( CancellationToken cancellation )
VB
Public Function AcquireAsync ( cancellation As CancellationToken ) As Task(Of IDisposable)
F#
member AcquireAsync : cancellation : CancellationToken -> Task<IDisposable>
Type: Task(IDisposable)A task that returns IDisposable to release the lock.
AsyncLock ClassAcquireAsync OverloadCodeJam.Threading Namespace