Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A mising piece of code in docs #253

Closed
igorp1024 opened this issue Apr 21, 2022 · 1 comment
Closed

A mising piece of code in docs #253

igorp1024 opened this issue Apr 21, 2022 · 1 comment
Milestone

Comments

@igorp1024
Copy link

@igorp1024 igorp1024 commented Apr 21, 2022

Hi!
There's a missing part of call chain in the docs, .asBlocking() in particular.

Instead of
if (bucket.tryConsume(1, MAX_WAIT_NANOS, BlockingStrategy.PARKING)) {
should be
if (bucket.asBlocking().tryConsume(1, MAX_WAIT_NANOS, BlockingStrategy.PARKING)) {
in docs/quick-start-examples

@vladimir-bukhtoyarov vladimir-bukhtoyarov added this to the 7.5.0 milestone Apr 22, 2022
vladimir-bukhtoyarov added a commit that referenced this issue May 2, 2022
@vladimir-bukhtoyarov
Copy link
Collaborator

@vladimir-bukhtoyarov vladimir-bukhtoyarov commented May 2, 2022

fixed

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

No branches or pull requests

2 participants