Skip to main content
server.ResultRetention Retain an exact reference for one immutable holder generation and deadline. Identical active acquisitions are idempotent. A changed deadline or an ended generation requires a new holder; release and expiry cannot reopen it. Keep sufficient terminal identity until the owner’s admission boundary bars replay. Current read authority and physical cleanup remain the resource owner’s work.

Type parameters

Properties

preparation

• preparation: { kind: "unsupported" } | { kind: "supported" ; abandon: (ctx: Write, preparation: PreparationRef) => Promise<void> }

Methods

acquire

▸ acquire(ctx, result, demand): Promise<CustodyOutcome>

Parameters

Returns

Promise<CustodyOutcome>

check

▸ check(ctx, claim): Promise<InputAssessment>

Parameters

Returns

Promise<InputAssessment>

release

▸ release(ctx, claim): Promise<void>

Parameters

Returns

Promise<void>