reject method

void reject()

Rejects this transaction without updating the parent queue.

The parent will continue as though StreamQueue.startTransaction hadn't been called. Further requests on all queues created by this transaction will complete as though cancel were called with immediate: true.

Throws a StateError if commit or reject have already been called.


void reject() {
  _rejected = true;