Skip to main content

run

Function run 

Source
pub async fn run<R, W>(
    args: &CliArgs,
    bootstrap: &CliBootstrap,
    input: R,
    output: W,
) -> Result<(), CliFailure>
where R: AsyncRead + Unpin, W: AsyncWrite + Unpin + Send + 'static,
Expand description

Builds and owns a service for strict JSONL/RPC mode.

ยงErrors

Returns stable CLI failures for bootstrap, framing, output, or cancellation.