close method

Future close()

Closes all attached streams.

Note: Once closed MapStream cannot reopen. Mutating the map will no longer send updates and no new listerners can be attached

Implementation

Future close() async {
  await _changeStreamController.close();
}