EventsEmitter<T> constructor

EventsEmitter<T>(
  1. {bool listenSynchronized = false}
)

Implementation

EventsEmitter({
  bool listenSynchronized = false,
}) : super(synchronized: listenSynchronized) {
  // clean up
  onDispose(() async => await streamCtrl.close());
}