pubsubService top-level property

PubSub get pubsubService

Access the PubSub object available in the current service scope.

The returned object will be the one which was previously registered with registerPubSubService within the current (or a parent) service scope.

Accessing this getter outside of a service scope will result in an error. See the package:gcloud/service_scope.dart library for more information.

Implementation

PubSub get pubsubService => ss.lookup(_pubsubKey) as PubSub;