Offload functions to worker threads with shared memory primitives for Node.js.
8
fork

Configure Feed

Select the types of activity you want to include in your feed.

test(shared): exercise dispose in Mutex.tryLock guard test

+4
+4
test/shared/mutex.test.ts
··· 57 57 const guard = m.tryLock(); 58 58 assert.ok(guard); 59 59 assert.equal(typeof guard[Symbol.dispose], 'function'); 60 + guard[Symbol.dispose](); 61 + // Should be able to lock again after dispose 62 + const guard2 = m.tryLock(); 63 + assert.ok(guard2); 60 64 m.unlock(); 61 65 }); 62 66