Skip to content

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

Type Alias: OnStreamPublishedCallback()

OnStreamPublishedCallback = (nodeId, portId, streamKey) => void

Defined in: packages/fireflow-types/src/execution/execution-context.ts:44

Callback type for stream publication events (port stream → DBOS → frontend)

Parameters

nodeId

string

The node ID publishing the stream

portId

string

The port ID being streamed

streamKey

string

The DBOS stream key for subscribing

Returns

void

Licensed under BUSL-1.1