close method

Future<void> close()

Implementation

Future<void> close() async {
  _isClosed = true;
  _eventSource!.close();
}