API Reference
Platform docs
Theme

Home > @uniformdev/context-edge > TransformEdgeStreamOptions

TransformEdgeStreamOptions interface

Signature:

Properties

Property

Modifiers

Type

Description

context

Context

decoder

Decoder

encoder

Encoder

onError?

(details: { error: unknown; chunk?: string; }) => void

(Optional) Called when an error occurs during stream processing. Receives the error and, when available, the decoded HTML chunk that triggered it.

reader

Reader

writer

Writer

Join our community on Discord
Check out our public repositories on GitHub
Enjoy some video content on YouTube