stream<T> method

Stream<T> stream<T>(
  1. int command, {
  2. List args = const [],
  3. CancellationToken? token,
  4. bool inspectRequest = false,
  5. bool inspectResponse = false,
})

Sends a streaming command to the LocalWorker.

Implementation

Stream<T> stream<T>(int command,
        {List args = const [],
        CancellationToken? token,
        bool inspectRequest = false,
        bool inspectResponse = false}) =>
    channel.sendStreamingRequest<T>(command, args,
        onDone: Channel.noop,
        token: token,
        inspectRequest: inspectRequest,
        inspectResponse: inspectResponse);