Method | Description | |
---|---|---|
AsyncLock ( ) : System |
Initializes a new instance of the AsyncLock class.
|
|
LockAsync ( ) : Task |
Waits for an open slot, then returns a disposable Releaser struct to be used in a using block marking the critical section.
|