Type Alias: EffectRecord {#type-alias-effectrecord}

EffectRecord = object

A persisted record of a durable side effect execution.

Properties {#properties}

completedAt {#completedat}

completedAt: number | null

Unix epoch timestamp (ms) when the effect completed, or null.


effectKey {#effectkey}

effectKey: string

Unique key identifying this effect within its run.


error {#error}

error: string | null

Error message if the effect failed, or null.


output {#output}

output: unknown

The stored return value of the effect function.


runId {#runid}

runId: string

The run this effect belongs to.


startedAt {#startedat}

startedAt: number

Unix epoch timestamp (ms) when the effect started.


state {#state}

state: EffectState

Current state of the effect.