Open cefn opened 3 years ago
The lock landing page should have a worked example, like this, and a further example using a key value...
lock
const lock = createLock(); const unlock = await lock.acquire(); try{ await doFirstThing() await doSecondThing() } finally{ unlock() }
The
lock
landing page should have a worked example, like this, and a further example using a key value...