stdio library
Functions
-
jsonRpcChannel(
StreamChannel< String> channel) → StreamChannel<Map< String, Object?> > - Adapts a channel of JSON strings into a channel of decoded JSON-RPC messages.
-
stdioChannel(
{required Stream< List< input, required StreamSink<int> >List< output}) → StreamChannel<int> >Map< String, Object?> > -
Creates a
StreamChannelfor Stdio communication where each message is a map, encoded as JSON on its own line.