stop static method

WorkerRequest stop()

Creates a new termination request.

Implementation

static WorkerRequest stop() => [
      null, // 0 - travel time
      null, // 1 - client
      _terminateCommand, // 2 - command
      null, // 3 - args
      null, // 4 - cancellation token
      null, // 5 - stream id / log level
      null, // 6 - worker id
      null, // 7 - inspect response
    ];