Skip to content

Add BLOCK option to XREAD interface#667

Merged
sewenew merged 1 commit intosewenew:masterfrom
fantasy-peak:master
Dec 31, 2025
Merged

Add BLOCK option to XREAD interface#667
sewenew merged 1 commit intosewenew:masterfrom
fantasy-peak:master

Conversation

@fantasy-peak
Copy link
Contributor

@fantasy-peak fantasy-peak commented Dec 25, 2025

auto xread(const StringView &key,
const StringView &id,
long long count,
long long timeout,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change the timeout type to std::chrono::milliseconds

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

auto xread(const StringView &key,
const StringView &id,
long long count,
long long timeout,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change the timeout type to std::chrono::milliseconds

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@sewenew
Copy link
Owner

sewenew commented Dec 31, 2025

Thanks for you contribution! I made some minor comment. Could you please change the timeout type to std::chrono::milliseconds?

Regards

@sewenew sewenew merged commit 90b8331 into sewenew:master Dec 31, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants