Skip to content

Commit

Permalink
[core-amqp] improve doc comment for AcquireLockProperties.abortSignal (
Browse files Browse the repository at this point in the history
  • Loading branch information
chradek authored Jun 4, 2021
1 parent 690117e commit 5b401ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sdk/core/core-amqp/src/util/lock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import { logger } from "../log";
export interface AcquireLockProperties {
/**
* An implementation of the `AbortSignalLike` interface to signal the request to cancel lock acquisition.
* This only applies to the acquisition of a lock. Once the lock is acquired, the task is invoked and `acquire`
* can no longer be cancelled.
* This does not cancel running the task passed to `acquire()` if the lock has been acquired,
* but will prevent it from running if cancelled before the task is invoked.
*/
Expand Down

0 comments on commit 5b401ee

Please sign in to comment.