Skip to content

Commit

Permalink
Fix asyncFeed() examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jrodewig committed Nov 5, 2024
1 parent 0582dad commit fdda9c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ FeedIterator<Product> syncIterator = client.feed(
);

// Example 2: Using `asyncFeed()`
CompletableFuture<FeedPage<Product>> pageFuture = client.asyncFeed(
CompletableFuture<FeedIterator<Product>> pageFuture = client.asyncFeed(
query,
options,
Product.class
Expand Down Expand Up @@ -684,7 +684,7 @@ FeedIterator<Product> syncIterator = client.feed(
);

// Example 2: Using `asyncFeed()`
CompletableFuture<FeedPage<Product>> pageFuture = client.asyncFeed(
CompletableFuture<FeedIterator<Product>> pageFuture = client.asyncFeed(
query,
options,
Product.class
Expand Down

0 comments on commit fdda9c8

Please sign in to comment.