terminate method

void terminate()

Terminates this command by throwing the TerminateException.

DataQueue.terminate calls this method for each command in the queue.

Implementation

void terminate() =>
    completer.completeError(TerminatedException<TResult>(this));