You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: