ACP v2 (Preview) TypeScript SDK — UNSTABLE - v2.12.1
Stable v2 features
Stable ACP v1
Draft v2 Protocol
GitHub
NPM
Preparing search index...
ndJsonStream
Function ndJsonStream
ndJsonStream
(
output
:
WritableStream
<
Uint8Array
<
ArrayBufferLike
>
>
,
input
:
ReadableStream
<
Uint8Array
<
ArrayBufferLike
>
>
,
options
?:
NdJsonStreamOptions
,
)
:
Stream
Experimental
Creates an experimental draft ACP v2 stream from newline-delimited JSON.
Parameters
output
:
WritableStream
<
Uint8Array
<
ArrayBufferLike
>
>
input
:
ReadableStream
<
Uint8Array
<
ArrayBufferLike
>
>
Optional
options
:
NdJsonStreamOptions
Returns
Stream
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Stable v2 features
Stable ACP v1
Draft v2 Protocol
GitHub
NPM
ACP v2 (Preview) TypeScript SDK — UNSTABLE - v2.12.1
Loading...
Creates an experimental draft ACP v2 stream from newline-delimited JSON.