zero-overhead-promise-lock

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
v1.2.1 URL: https://unpkg.com/zero-overhead-promise-lock@1.2.1/dist/zero-overhead-promise-lock.js
OpenBrowse Files
lockasync-lockmutexpromise-lockevent-loop-lockasync-task-lockrace-conditioncritical-sectionmutually-exclusivebackpressurebackpressure-indicatorgraceful-terminationgraceful-teardowngraceful-shutdownclean-teardownsmooth-teardowndisposablecheck-and-abortaccess-ongoing-taskaccess-executing-promisesmart-reuseavoid-redundant-executionsadvanced-usage-patternsevent-loop-iterationsis-availablecheck-and-abortthrottlerate-limitingnodejsNode.jstypescripttsES2020

zero-overhead-keyed-promise-lock

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
v1.1.1 URL: https://unpkg.com/zero-overhead-keyed-promise-lock@1.1.1/dist/zero-overhead-keyed-promise-lock.js
OpenBrowse Files
keyed-locklock-keysequentialmutexkeyed-mutexpromise-lockasync-locklockevent-loop-locksequential-processingsequential-per-keyrace-conditioncritical-sectionasync-tasktask-lockFIFO-per-keygraceful-terminationgraceful-teardowngraceful-shutdownclean-teardownsmooth-teardowndeterministic-terminationcheck-and-abortactive-keyaccess-ongoing-taskaccess-executing-promisesmart-reuseavoid-redundant-executionsadvanced-usage-patternsbatch-processingdeterministic-batch-completionthrottlerate-limitingnodejsNode.jstypescripttsES2020

auto-fetch-fifo-ttl-cache

An in-memory FIFO cache with fixed TTL for Node.js, designed to streamline the common get-or-fetch pattern by automating value retrieval. It uses an internal keyed lock to coalesce concurrent fetches for the same key, reducing redundant network calls and
v1.0.0 URL: https://unpkg.com/auto-fetch-fifo-ttl-cache@1.0.0/dist/index.js
OpenBrowse Files
auto-fetchautomatic-fetchautomated-fetchautomated-retrievalautomated-value-fetchget-or-fetchfetcherasync-fetchasync-cachefifo-cachettl-cachefifo-ttlcacheexpired-entryexpired-recordfirst-in-first-outttltime-to-liveevent-drivenproactive-removelru-alternativeuniform-key-distributionshort-term-key-popularityin-memorygraceful-terminationgraceful-teardowngraceful-shutdownclean-teardownsmooth-shutdownnodejstypescripttsES2020

non-overlapping-recurring-task

A modern `setInterval` substitute tailored for asynchronous tasks, ensuring non-overlapping executions by skipping attempts if a previous execution is still in progress. Features execution status getters, graceful teardown, and a fixed delay between runs.
v1.1.1 URL: https://unpkg.com/non-overlapping-recurring-task@1.1.1/dist/non-overlapping-recurring-task.js
OpenBrowse Files
non-overlapnon-overlappingexecution-overlaprecurringrecurring-taskperiodic-taskasync-tasksetIntervaldisjoint-executionsmutually-exclusiveschedulertask-schedulerperiodic-schedulergraceful-terminationgraceful-teardowngraceful-shutdownclean-teardownsmooth-shutdownnodejsnode.jstypescripttsES2020

zero-backpressure-weighted-promise-semaphore

A modern weighted promise semaphore for Node.js projects, ideal for managing workloads with varying processing requirements. It allows limiting the total weight of concurrently executing jobs, ensuring efficient resource utilization. Offering backpressure
v1.0.15 URL: https://unpkg.com/zero-backpressure-weighted-promise-semaphore@1.0.15/dist/zero-backpressure-weighted-promise-semaphore.js
OpenBrowse Files
weighted-jobweighted-taskweighted-semaphoreweighted-promiseweighted-concurrencysemaphorepromise-semaphorepromise-poolweighted-promise-poolcounting-semaphoreconcurrency-managementconcurrency-limitconcurrency-limitermutexweighted-mutexlockjobtasktask-semaphoretask-poolconcurrencyacquirebackpressuregraceful-terminationgraceful-teardowngraceful-shutdownclean-teardownsmooth-teardowndeterministic-terminationpromise-limitschedulingexecutoruncaught-erroruncaught-rejectionasyncnodejstypescripttsES2020