stopConsuming method

  1. @override
void stopConsuming(
  1. String endpoint
)
override

Stops consuming on the endpoint.

The endpoints should be in the correct format (s3ib://s3i:+ UUIDv4 for decrypted communication or s3ibs://s3i: + UUIDv4 for encrypted messages).

Implementation

@override
void stopConsuming(String endpoint) {
  _endpoints.remove(endpoint);
  if (_endpoints.isEmpty) _enablePolling = false;
}