Expand description
Output path.
The worker → SpawnerAdapter → engine output path. All structuring is
completed inside the SpawnerAdapter; by the time an event reaches the
engine it is a Rust-typed OutputEvent. The wire form the worker uses
(stdout / NDJSON / file path / IPC) is opaque to the engine.
The WorkerResult type was folded into OutputEvent::Final.
§Canonical type locations
OutputEvent and ContentRef are canonical in crate::store::output;
this module is narrowed to re-exports plus the engine-specific
OutputSink / EngineSink.
Re-exports§
pub use crate::store::output::ContentRef;pub use crate::store::output::OutputEvent;
Structs§
- Engine
Sink - Concrete
OutputSink— the default implementation that closes overengine,token,task_id, andattempt, and callsengine.submit_outputfor everyemit. Injected by theInProcSpawnerintoWorkerInvocation.
Traits§
- Output
Sink - Sink used inside a worker function to emit events. The
InProcSpawnerinjects one intoWorkerInvocation. TheProcessSpawner/ child-process pull path folds stdout / IPC intoOutputEventinternally and callsengine.submit_outputdirectly, so it does not go throughOutputSink(it lands in the same engine state, but not via this trait).