Skip to main content

Interface: ProcessableOptions<_TInput, _TOutput>

Defined in: packages/core/src/deterministic.ts:383

Options for creating a processable with full type safety

Type Parameters

_TInput

_TInput

_TOutput

_TOutput

Properties

getBotNames?

optional getBotNames?: () => string[]

Defined in: packages/core/src/deterministic.ts:391

Get all nested bot names (defaults to [name])

Returns

string[]


id?

optional id?: string

Defined in: packages/core/src/deterministic.ts:388

Unique ID (auto-generated if not provided)


name?

optional name?: string

Defined in: packages/core/src/deterministic.ts:385

Semantic name for this processable


subscribeToAll?

optional subscribeToAll?: (options?) => Subscription

Defined in: packages/core/src/deterministic.ts:394

Custom subscription handler (for composites that need to delegate)

Parameters

options?
omit?

string[]

onComplete?

(botId, botName, output) => void

onError?

(botId, botName, event) => void

onProgressUpdate?

(botId, botName, event) => void

onStreamEvent?

(botId, botName, event) => void

Returns

Subscription