Optional
backoffThe default backof policy to use in the returned LazyPromise.
Optional
createYou can pass your owner id generator function.
Optional
defaultThe default refresh time used in the ILock acquireBlocking and runBlocking methods.
Optional
defaultThe default refresh time used in the ILock acquireBlocking and runBlocking methods.
Optional
defaultThe default refresh time used in the ILock extend method.
TimeSpan.fromMinutes(5);
Optional
defaultYou can decide the default ttl value for ILock expiration. If null is passed then no ttl will be used by default.
Optional
eventOptional
retryThe default retry attempt to use in the returned LazyPromise.
Optional
retryThe default retry policy to use in the returned LazyPromise.
Optional
timeout?: TimeSpan | nullThe default timeout to use in the returned LazyPromise.
IMPORT_PATH:
"@daiso-tech/core/lock/implementations/derivables"