Deserialize through the current process-wide registry.
Optional
const result = valueOrThrow(await fromChunk<{ answer: string }>(chunk)); Copy
const result = valueOrThrow(await fromChunk<{ answer: string }>(chunk));
Deserialize through the current process-wide registry.