dispose method

Future<void> dispose()

Implementation

Future<void> dispose()async{
  await eventHub.close();
}