Skip to content
Buy me a coffee

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.

ResilienceContext | undefined = ...

number | undefined