Skip to content

Commit

Permalink
Fixes #121
Browse files Browse the repository at this point in the history
  • Loading branch information
mzimbres committed Aug 6, 2023
1 parent 10603b7 commit 34ff1ce
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/cpp20_streams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ auto stream_reader(std::shared_ptr<connection> conn) -> net::awaitable<void>
req.push("XREAD", "BLOCK", "0", "STREAMS", "test-topic", stream_id);
co_await conn->async_exec(req, resp, net::deferred);

// std::cout << "Response: ";
// for (int i = 0; i < resp->value().size(); ++i) {
// std::cout << resp->value().at(i).value << ", ";
// }
// std::cout << std::endl;
//std::cout << "Response: ";
//for (auto i = 0UL; i < resp->size(); ++i) {
// std::cout << resp->at(i).value << ", ";
//}
//std::cout << std::endl;

// The following approach was taken in order to be able to
// deal with the responses, as generated by redis in the case
Expand Down

0 comments on commit 34ff1ce

Please sign in to comment.