Search results

476 packages found

[![npm version](https://img.shields.io/npm/v/react-native-threads.svg?style=flat-square)](https://www.npmjs.com/package/react-native-threads) [![downloads](https://img.shields.io/npm/dm/react-native-threads.svg?style=flat-square)](https://www.npmjs.com/pa

published 0.3.8 3 days ago
M
Q
P

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

published 11.4.0 a month ago
M
Q
P

CancelablePromise is a Promise that can be canceled. It is a Promise that has a status property that can be '`pending`', '`resolved`', '`rejected`' or '`canceled`'. It has an onCancel method that allows you to register a callback that will be called when

published 2.5.1 7 months ago
M
Q
P

A NPM package that enables developers to build Web Worker pools that can be used in (but not limited to) Next.js applications

published 0.0.6 9 months ago
M
Q
P

Communicate with a service worker in a much easier way

published 1.1.10 7 months ago
M
Q
P

CommonJS version of make-synchronous 1.0.0. See https://github.com/mifi/commonify

published 1.0.0 5 months ago
M
Q
P

Web workers & worker threads as simple as a function call

published 1.7.2 5 months ago
M
Q
P

Utilities for running tasks on worker threads

published 0.0.4 5 months ago
M
Q
P

WebAssembly and SharedArrayBuffer IO. Pronounced 'wassabee-yo'.

published 1.3.0 5 months ago
M
Q
P

Create multithreaded pipelines (incl. esm imports) in a single script file with a clear, minimal workflow

published 1.8.1 3 months ago
M
Q
P

Scalable multithreaded Node.js servers made easy.

published 1.5.3 a month ago
M
Q
P

A lightweight tool built on top of Node.js worker_threads, enabling multithreading.

published 1.1.20 3 months ago
M
Q
P

Convenient multithreaded canvas rendering tools.

published 1.1.4 6 months ago
M
Q
P
M
Q
P

Channel implementation for TypeScript akin to Go Channels

published 0.3.1 7 months ago
M
Q
P
M
Q
P

This packages aims to take care of most of your multi threading concerns, including: -a reusable worker pool that is automatically sized based on the available threads (can be [configured](#optional-configuration)) - support for typescript out of the box

published 1.0.0 2 months ago
M
Q
P

Web workers & worker threads as simple as a function call

published 1.7.5 9 months ago
M
Q
P

Use workers with promises.

published 1.0.1 4 months ago
M
Q
P

<img src="/media/verace.svg">

published 1.0.2 a year ago
M
Q
P