@bounkhong/idempotency-adapter-memory
v0.1.0
Published
In-memory idempotency store adapter for AIF core
Downloads
158
Maintainers
Readme
@bounkhong/idempotency-adapter-memory
In-memory idempotency store implementation for local development and tests.
Install
pnpm add @bounkhong/idempotency-adapter-memory @bounkhong/idempotency-coreUsage
import { IdempotencyService } from "@bounkhong/idempotency-core";
import { MemoryIdempotencyStore } from "@bounkhong/idempotency-adapter-memory";
const service = new IdempotencyService(new MemoryIdempotencyStore());Notes
- Process-local only (not shared across instances)
- Best for tests, examples, and single-instance dev
- Not recommended for production multi-instance deployments
