Skip to content

Commit

Permalink
Add more information to the new flag's docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jdisanti committed Sep 27, 2022
1 parent f59c8f4 commit f8ce8cd
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@ class PaginatorGenerator private constructor(
/// Stop paginating when the service returns the same pagination token twice in a row.
///
/// Defaults to true.
///
/// For certain operations, it may be useful to continue on duplicate token. For example,
/// if an operation is for tailing a log file in real-time, then continuing may be desired.
/// This option can be set to `false` to accommodate these use cases.
pub fn stop_on_duplicate_token(mut self, stop_on_duplicate_token: bool) -> Self {
self.stop_on_duplicate_token = stop_on_duplicate_token;
self
Expand Down

0 comments on commit f8ce8cd

Please sign in to comment.