Skip to content

BlockSuite API Documentation / @blocksuite/presets / bindTextStream

Function: bindTextStream()

bindTextStream(stream, __namedParameters): void

Parameters

stream: TextStream

__namedParameters

__namedParameters.finish

__namedParameters.signal?: AbortSignal

__namedParameters.update

Returns

void

Source

packages/presets/src/ai/actions/doc-handler.ts:25