suspend method

void suspend()

Temporarily stop dispatching to any subscriptions

Implementation

void suspend() {
  subscriptions.suspendAll();
}