PersistentAI API Documentation / @persistentai/fireflow-types / PostExecuteResult
Interface: PostExecuteResult
Defined in: packages/fireflow-types/src/node/types.ts:216
Result from postExecute() hook for three-phase deterministic execution.
The postExecute hook is called in sorted nodeId order AFTER parallel execution completes ("ordered await"). This ensures:
- DBOS completion calls happen in deterministic order
- Custom events are emitted in deterministic order
See
docs/design/023-deterministic-execution-proof.md
Properties
customEvents?
optionalcustomEvents:object[]
Defined in: packages/fireflow-types/src/node/types.ts:222
Custom events to emit after execution completes. Events are emitted in the order provided, within the deterministic postExecute ordering (by nodeId).
data
data:
unknown
type
type:
string
resolvedPorts?
optionalresolvedPorts:string[]
Defined in: packages/fireflow-types/src/node/types.ts:231
Ports that were resolved during execution. Used for tracking which ports have values after postExecute.