@openknot-ts/knot-lock
v0.0.6-preview
Published
In-process implementation of the OpenKnot lock contract for single instances and tests.
Readme
Knot lock
@openknot-ts/knot-lock implements the lock contract inside one process. inProcessLock from @openknot-ts/knot-lock/wire provides it to an application. Lease expiry is checked when the lock is requested; no timer runs. Use it for single instances and tests; clusters need a shared implementation such as @openknot-ts/redis-lock.
