Skip to main content

Interface: SubscribeAllCallbacks

Defined in: packages/core/src/types.ts:264

Categorized callbacks accepted by Processable.subscribeToAll(). Named so composites can share one canonical shape instead of each re-declaring the same inline object type (see core/stream-hub.ts's fanOutSubscribeToAll, which every composite Processable delegates to).

Properties

omit?

optional omit?: string[]

Defined in: packages/core/src/types.ts:269


onComplete?

optional onComplete?: (botId, botName, output) => void

Defined in: packages/core/src/types.ts:266

Parameters

botId

string

botName

string

output

unknown

Returns

void


onError?

optional onError?: (botId, botName, event) => void

Defined in: packages/core/src/types.ts:268

Parameters

botId

string

botName

string

event

BaleybotStreamEvent

Returns

void


onProgressUpdate?

optional onProgressUpdate?: (botId, botName, event) => void

Defined in: packages/core/src/types.ts:267

Parameters

botId

string

botName

string

event

BaleybotStreamEvent

Returns

void


onStreamEvent?

optional onStreamEvent?: (botId, botName, event) => void

Defined in: packages/core/src/types.ts:265

Parameters

botId

string

botName

string

event

BaleybotStreamEvent

Returns

void