Skip to main content

IdempotentResult

@forge/monorepo


@forge/monorepo / backend/src / IdempotentResult

Type Alias: IdempotentResult<T>

IdempotentResult<T> = object

Defined in: backend/src/idempotency/index.ts:78

Wraps a stored result so a repeated call can return it without re-executing.

Type Parameters

T

T

Properties

firstSeen

readonly firstSeen: boolean

Defined in: backend/src/idempotency/index.ts:81

True on the first execution; false when the stored result is returned.


key

readonly key: IdempotencyKey

Defined in: backend/src/idempotency/index.ts:79


result

readonly result: T

Defined in: backend/src/idempotency/index.ts:82