Skip to content

Commit

Permalink
Fix missing parameters in Doxygen documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
coryan committed Oct 13, 2022
1 parent b47aeca commit 01f3d37
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions google/cloud/pubsub/subscriber.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ class Subscriber {
* @snippet samples.cc subscribe
*
* @param cb the callable invoked when messages are received.
* @param opts any option overrides to use in this call. These options take
* precedence over the options passed in the constructor, and over any
* options provided in the `PublisherConnection` initialization.
* @return a future that is satisfied when the session will no longer receive
* messages. For example, because there was an unrecoverable error trying
* to receive data. Calling `.cancel()` in this object will (eventually)
Expand Down Expand Up @@ -143,6 +146,9 @@ class Subscriber {
* @snippet samples.cc exactly-once-subscribe
*
* @param cb the callable invoked when messages are received.
* @param opts any option overrides to use in this call. These options take
* precedence over the options passed in the constructor, and over any
* options provided in the `PublisherConnection` initialization.
* @return a future that is satisfied when the session will no longer receive
* messages. For example, because there was an unrecoverable error trying
* to receive data. Calling `.cancel()` in this object will (eventually)
Expand Down

0 comments on commit 01f3d37

Please sign in to comment.