dispose method

void dispose()

Dispose of the executor, closing the event stream.

Implementation

void dispose() {
  _eventController.close();
}