getLockToken
getLockToken(
context?):number|undefined
Defined in: src/lock.ts:98
Fencing token of the innermost lock the calling code runs under. Pass it to the protected resource so it can reject stale writers.
Parameters
Section titled “Parameters”context?
Section titled “context?”ResilienceContext | undefined = ...
Returns
Section titled “Returns”number | undefined