Skip to main content

Module clients.sandbox.process.stream_output_chunk

Classes

StreamOutputChunk

class StreamOutputChunk(stream: h2o_engine_manager.clients.sandbox.process.output_stream.OutputStream, data: bytes)

A single chunk of live process output, tagged with its source stream.

StreamOutputChunk pairs a chunk of output with the stream that produced it.

Args
stream
The stream that produced this chunk (stdout, stderr, or combined).
data
The raw bytes captured for this chunk. Chunk boundaries reflect what arrived from the underlying pipe and may contain partial lines, multiple lines, or no newlines at all.

Feedback