StdDriverConnection constructor

StdDriverConnection({
  1. Stream<List<int>>? inputStream,
  2. StreamSink<List<int>>? outputStream,
})

Implementation

StdDriverConnection(
    {Stream<List<int>>? inputStream, StreamSink<List<int>>? outputStream})
    : _messageGrouper = AsyncMessageGrouper(inputStream ?? stdin),
      _outputStream = outputStream ?? stdout;