Skip to content

Commit

Permalink
docs: add the new option in the listen doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ccoeurderoy committed Jun 16, 2023
1 parent 134e6f0 commit f6affb0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ If the chosen transport is Google Cloud PubSub, then `options` would be:
- `sub`: Options applied to the subscription instance (see also [`setOptions` method](https://googleapis.dev/nodejs/pubsub/latest/Subscription.html#setOptions))
- `create`: Options applied to the `createSubscription` method (have a look at [Create Subscription options](https://googleapis.dev/nodejs/pubsub/latest/Topic.html#createSubscription))
- `topicOptions`: Options applied to the created topic (have a look at [Topic options](https://googleapis.dev/nodejs/pubsub/latest/Topic.html#get))
- `topicName`: Set the topic name. By default, it uses the default name with a prefix.

### `pubsub.emit(event, payload, opts)`

Expand Down

0 comments on commit f6affb0

Please sign in to comment.