sendRequest<T> abstract method

Future<T> sendRequest<T>(
  1. int command,
  2. List args, {
  3. CancellationToken? token,
  4. bool inspectRequest = false,
  5. bool inspectResponse = false,
})

Creates a WorkerRequest and sends it to the worker. This method expects a single value from the worker.

Implementation

Future<T> sendRequest<T>(int command, List args,
    {CancellationToken? token,
    bool inspectRequest = false,
    bool inspectResponse = false});