Version: v1
Subscription Service
Extend and customize the behavior of the subscription server in the subscription.service file. Initialize a database connection, register subscribers, and define default subscriber options in the subscription service file.
Typescript example#
/pubsub/subscription.service.ts
Javascript Example#
/pubsub/subscription.service.js
Running the Service#
To run the service you can use the CLI commands: