singleflight for js
provide a wrap async function for singleflight
A wrapper for de-duplicating asynchronous requests
Ensure only one execution is in-flight for a given key at a time
Go-style singleflight implementation for Node.js/TypeScript
provides a duplicate function call suppression
Caching primitives (LRU, TTL, stale-while-revalidate, singleflight) and memoization helpers shared by `@fajarnugraha37/validator` and `@fajarnugraha37/expression`
Typed single-flight async coalescing with cleanup, cancellation, and inflight-compatible callbacks.
Prevent duplicate calls at concurrent function calls
singleflight is a utility that prevents duplicate asynchronous operations by ensuring that only one execution per unique key is in progress at a time, reducing redundant processing and improving efficiency.
provides a duplicate function call suppression mechanism.
async fnLoginOpenid() { return sf.do('fnLoginOpenid', async () => { const { code } = await wx.login() console.log("res", code) const res = await App.$http.post('/wx/openid', { code }) console.log("res", res) return
Single flight pattern for TypeScript, deduplicate concurrent requests.
TypeScript single-flight implementation for deduplicating concurrent async operations by key.
[](https://www.npmjs.com/package/@camunda8/orchestration-cluster-api) [](https://www.npmjs.com/packa
A TypeScript utility that solves the Thundering Herd Problem by deduplicating concurrent operations
Deduplicate concurrent async operations by sharing the same in-flight Promise
This package is the code support for book "Node Reliable Caching"
Croco 프레임워크용 캐시 추상화 패키지입니다. 인메모리 LRU 캐시, stampede protection, TTL 관리, 패턴 무효화, 분산 캐시 인터페이스를 제공합니다.
Schema-agnostic primitives shared across every brand's BFF. No Hono, no brand-specific Strapi / Shopify schema — just the infrastructure that every brand reuses unchanged.
A helper for node-cache
Production-grade TypeScript SDK for the Setu API Platform (UPI, BBPS, KYC, AA, eSign)
A set of common utilities for TypeScript/JavaScript
Platform-agnostic utility functions with ./web subpath for browser-only utilities (download, window, BOM helpers)
A Rust port of Go's singleflight package for call collapsing
Singleflight in async style.
Async singleflight.
MVP multi-level cache runtime with singleflight load de-duplication
Request coalescing for Tower services - prevents cache stampedes by deduplicating concurrent identical requests
Safe SQL for Rust — if it compiles, the SQL is correct
Bump allocator with thread-local recycling for bsql drivers
Runtime support for bsql — compile-time safe SQL for Rust
PostgreSQL wire protocol driver for bsql — binary protocol, arena allocation, zero-copy
SQLite driver for bsql — direct FFI, arena allocation, dedicated-thread pool
Proc macros for bsql — compile-time safe SQL for Rust
my common rust code
Its primary purpose is to ensure that only one call to an expensive or duplicative operation is in flight at any given time. When multiple requests request the same resource, singleflight ensures that the function is executed only once, and the result is shared among all callers. This pattern is particularly useful in scenarios where caching isn't suitable or when the results are expected to change frequently.
Coalesce concurrent cache-miss computations with Redis-backed locks and shared results.