Optional
backoffThe default backof policy to use in the returned LazyPromise.
Optional
createYou can pass your owner id generator function.
Optional
defaultOptional
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 refreshtime used in the ILock extend method.
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.
You can pass one or more IFlexibleSerde that will be used to register all ILock related errors and events.
Optional
shouldOptional
shouldOptional
timeout?: TimeSpan | nullThe default timeout to use in the returned LazyPromise.
IMPORT_PATH:
"@daiso-tech/core/lock/implementations/derivables"