dispose method

void dispose()

Cancel every in-flight mission and clear state.

Implementation

void dispose() {
  _dispatcher.cancelAll();
}