Skip to content

PersistentAI API Documentation / @persistentai/fireflow-types / ExecutionEventHandler

Type Alias: ExecutionEventHandler()<T>

ExecutionEventHandler<T> = (data) => void | Promise<void>

Defined in: packages/fireflow-types/src/flow/execution-handlers.ts:18

Type representing a handler function for a specific execution event type

Type Parameters

T

T extends ExecutionEventEnum

Parameters

data

ExecutionEventData[T]

Returns

void | Promise<void>

Licensed under BUSL-1.1