removeIntent method

bool removeIntent(
  1. String channelName
)

Implementation

bool removeIntent(String channelName) {
  final removed = _intentRegistry.removeIntent(channelName);
  if (removed) {
    _record(
      SubscriptionIntentTelemetryEvent(
        kind: TelemetryEventKind.subscriptionIntentRemoved,
        at: _clock.now(),
      ),
    );
    _unsubscribeChannelIfSent(channelName);
  }
  return removed;
}