subscribe method

  1. @override
Future<String> subscribe({
  1. required String topic,
})
override

Implementation

@override
Future<String> subscribe({required String topic}) async {
  _checkInitialized();

  core.logger.i('[$runtimeType] subscribe, $topic');

  pendingSubscriptions[topic] = _onSubscribe(topic);

  return await pendingSubscriptions[topic];
}