Search results
13 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
An efficient Promise lock for Node.js projects, ensuring mutually exclusive execution of asynchronous tasks. Key features include a backpressure indicator, access to the currently executing task promise for smart reuse (useful when launching a duplicate t
- lock
- async-lock
- mutex
- promise-lock
- event-loop-lock
- async-task-lock
- race-condition
- critical-section
- mutually-exclusive
- backpressure
- backpressure-indicator
- graceful-termination
- graceful-teardown
- graceful-shutdown
- View more
An efficient keyed Promise lock for Node.js projects, ensuring the mutually exclusive execution of tasks associated with the same key. Key features include active key metrics and the ability to gracefully await the completion of all currently executing or
- keyed-lock
- lock-key
- sequential
- mutex
- keyed-mutex
- promise-lock
- async-lock
- lock
- event-loop-lock
- sequential-processing
- sequential-per-key
- race-condition
- critical-section
- async-task
- View more
An optimized, framework-agnostic solution for handling search-as-you-type functionality
A lightweight library providing both local and distributed locking primitives (mutexes, semaphores, and read-write locks) for managing concurrency in Node.js.
- locking
- mutex
- semaphore
- read-write-lock
- concurrency
- synchronization
- distributed-locking
- distributed-mutex
- distributed-semaphore
- distributed-read-write-lock
- critical-section
- race-condition
- resource-sharing
- thread-safety
一个轻量级的请求管理器,用于解决网络请求竞态问题
Environment-agnostic production-ready promise utility library for managing promise stacks and race conditions. Supports Node.js, Deno, and browsers.
- promise
- async
- utility
- typescript
- nodejs
- deno
- browser
- race-condition
- promise-stack
- cross-platform
- production-ready
setInterval for promises and async functions. Support graceful shutdown and prevent multiple executions from overlapping in time.
- async-interval-job
- setInterval
- interval
- async-interval
- repeat
- timer
- promise
- promises
- async
- asynchronous
- await
- graceful
- graceful-shutdown
- concurrency
- View more
A Node-RED node that acts as an auto-resetting gate, blocking or allowing messages for a configurable delay after receiving a control message.
const resource = useAsyncResource(resolve => load => commit, [...dependencyList)
An extension to the core @apiratorjs/locking library, providing Redis-based implementations of distributed mutexes and semaphores for true cross-process concurrency control in Node.js.
- distributed-lock
- concurrency
- synchronization
- distributed-locking
- distributed-mutex
- distributed-semaphore
- critical-section
- race-condition
- resource-sharing
- thread-safety
- concurrent-access
- redis-lock
const fetch = useFetchUntilMounting([...dependencyList])
In an async environment, a race condition occurs when two or more async operations attempt to update mutable shared data at the same time. @synchronized decorator offers a mechanism to avoid race conditions by synchronizing async operations access to shar
> A set of tools to avoid race conditions in RxJS subscriptions.