IdempotencyStore
@forge/monorepo / backend/src / IdempotencyStore
Interface: IdempotencyStore
Defined in: backend/src/idempotency/index.ts:86
Persists and returns prior results by key. Adapter lands with persistence (#17+).
Methods
get()
get<
T>(input):Promise<IdempotentResult<T> |null>
Defined in: backend/src/idempotency/index.ts:87
Type Parameters
T
T
Parameters
input
key
tenantId
Returns
Promise<IdempotentResult<T> | null>
put()
put<
T>(input):Promise<void>
Defined in: backend/src/idempotency/index.ts:88
Type Parameters
T
T
Parameters
input
key
result
T
tenantId
Returns
Promise<void>