AsyncLockEnterAsync Method

Obtains exclusive access to the lock.

Definition

Namespace: Gemstone.Threading
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.188 -- Release Build+dbe8834f781fa1f142638a8d412d8bf8996fb48f
public Task<IDisposable> EnterAsync()

Return Value

TaskIDisposable
A task that must be awaited to obtain the token that will release the lock on Dispose.

See Also