Home > @uniformdev/context-edge > transformEdgeStream
transformEdgeStream() function
Transforms an edge response stream by processing NESI tags and injecting Uniform context state. Reads chunks from the reader, processes them through the streaming NESI parser, and writes results to the writer.
Signature:
Parameters
| Parameter | Type | Description |
|---|---|---|
| { reader, writer, decoder, encoder, context, onError, } | TransformEdgeStreamOptions |
Returns:
Promise<void>