pub fn spawn_stream_forwarder<S>(
stream: S,
module: String,
instance_id: Uuid,
cancel: CancellationToken,
kind: StreamKind,
) -> JoinHandle<()>Expand description
Spawn a task that reads lines from stdout and forwards them to tracing.
The task will run until either:
- The stream is closed (child process exits)
- The cancellation token is triggered