Skip to content

ChainGraph API Documentation / @badaitech/chaingraph-types / ExecutionEventHandler

Type Alias: ExecutionEventHandler()<T>

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

Defined in: packages/chaingraph-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