函数 UNSAFE_decodeViaTurboStream
- UNSAFE_decodeViaTurboStream(body, global): Promise<{
done: Promise<undefined>;
value: unknown;
}> 参数
- body: ReadableStream<Uint8Array>
- global: typeof globalThis | Window
返回值 Promise<{
done: Promise<undefined>;
value: unknown;
}>