Thread Packages

lite-ts-thread

```typescript const mutex: MutexBase; // 获取 key 等待锁, (最多尝试获取30次,每次间隔在10~20毫秒),获取不到则抛出异常 const unlock = await mutex.lock({ key: 'key', tryCount: 30, sleepRange: [10, 20] }); await unlock(); // 释放锁

11.4.0 • Published 11 months ago

@tinqjs/tinjs-fork

Tiny libs to handle concurrency and threads in javascript. Simplifying javascript thread call to be more organic.

1.0.1 • Published 4 years ago