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
```typescript const mutex: MutexBase; // 获取 key 等待锁, (最多尝试获取30次,每次间隔在10~20毫秒),获取不到则抛出异常 const unlock = await mutex.lock({ key: 'key', tryCount: 30, sleepRange: [10, 20] }); await unlock(); // 释放锁
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
A NPM package that enables developers to build Web Worker pools that can be used in (but not limited to) Next.js applications
Communicate with a service worker in a much easier way
CommonJS version of make-synchronous 1.0.0. See https://github.com/mifi/commonify
Web workers & worker threads as simple as a function call
Utilities for running tasks on worker threads
WebAssembly and SharedArrayBuffer IO. Pronounced 'wassabee-yo'.
Create multithreaded pipelines (incl. esm imports) in a single script file with a clear, minimal workflow
Scalable multithreaded Node.js servers made easy.
- api
- cluster
- concurrency
- express
- fastify
- framework
- hamsters.js
- hapi
- http
- https
- koa
- multithreaded
- multithreading
- parallelism
- View more
A lightweight tool built on top of Node.js worker_threads, enabling multithreading.
Convenient multithreaded canvas rendering tools.
Use Web Workers in Astro
- astro-integration
- astro-component
- ui
- analytics
- async
- asynchronous
- background
- background-task
- background-tasks
- build
- html
- node
- nodejs
- parallel
- View more
Channel implementation for TypeScript akin to Go Channels
Use Web Workers in Astro
- astro-integration
- astro-component
- ui
- analytics
- async
- asynchronous
- background
- background-task
- background-tasks
- build
- html
- node
- nodejs
- parallel
- View more
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
Web workers & worker threads as simple as a function call
Use workers with promises.
<img src="/media/verace.svg">