Event:
| { key: string; type: "claim" }
| { age: number; key: string; type: "replay" }
| { key: string; retainFor: number; type: "store" }
| { key: string; type: "skip" }
| { error: unknown; key: string; type: "release" }
| {
code: "in-flight" | "fingerprint-mismatch";
key: string;
type: "refuse";
}
| { key: string; operation: "complete"
| "release"; type: "lost-claim" }
| {
error: unknown;
key: string;
operation: "claim" | "complete" | "release" | "forget";
type: "store-error";
}
Type Declaration
- { key: string; type: "claim" }
- { age: number; key: string; type: "replay" }
- { key: string; retainFor: number; type: "store" }
- { key: string; type: "skip" }
- { error: unknown; key: string; type: "release" }
- { code: "in-flight" | "fingerprint-mismatch"; key: string; type: "refuse" }
- { key: string; operation: "complete" | "release"; type: "lost-claim" }
- {
error: unknown;
key: string;
operation: "claim" | "complete" | "release" | "forget";
type: "store-error";
}
Everything observable. Reported, never thrown.
releaseandstore-errorcarry what went wrong; the rest are facts about what the ledger did, so a listener counts them without unpacking an error it does not need.keyis the full store key, namespace and scope included.