destroy method

void destroy()

Destroy this TEventBus. This is generally only in a testing context.

Implementation

void destroy() {
  _streamController.close();
}