Skip to main content
Defined in: durability/types.ts:49 One journaled inbound event.

Properties

id

Defined in: durability/types.ts:51 Stable id: a hash of the namespace + the event’s idempotency key, or a random id for events without one.

idempotencyKey?

Defined in: durability/types.ts:53 The inbound dedupe key + content fingerprint the id was derived from (diagnostics).

partitionKey

Defined in: durability/types.ts:55 Ordering partition (namespace + chat): records of one partition are replayed in receivedAt order.

kind

Defined in: durability/types.ts:56

payload

Defined in: durability/types.ts:58 The serialized inbound event (raw is never stored).

state

Defined in: durability/types.ts:59

attempts

Defined in: durability/types.ts:61 Claims charged so far (a release is not charged).

nextAttemptAt

Defined in: durability/types.ts:63 Epoch ms when a pending/failed record becomes due.

leaseUntil?

Defined in: durability/types.ts:65 Epoch ms when the current processing lease expires.

owner?

Defined in: durability/types.ts:67 Lease owner (DurabilityConfig.instanceId).

fencingToken

Defined in: durability/types.ts:69 Strictly increasing per record; 0 before the first claim.

receivedAt

Defined in: durability/types.ts:70

completedAt?

Defined in: durability/types.ts:71

lastError?

Defined in: durability/types.ts:72