removeStream method
Removes a stream from this connection
Implementation
Future<void> removeStream(SwarmStream stream) async {
await _streamsLock.synchronized(() {
_streams.remove(int.parse(stream.id()));
});
}
Removes a stream from this connection
Future<void> removeStream(SwarmStream stream) async {
await _streamsLock.synchronized(() {
_streams.remove(int.parse(stream.id()));
});
}