Sleep Hook
#306
Replies: 2 comments 1 reply
-
On Ruby 3.1+ and Async 2+, CRuby: https://github.com/ruby/ruby/blob/fb4df44d1670e9d25aef6b235a7281199a177edb/process.c#L5162-L5170 Async: Lines 151 to 158 in 2c5f92e |
Beta Was this translation helpful? Give feedback.
0 replies
-
Is there a way to do this with older versions of Ruby? (We a have not upgraded to Ruby 3 yet). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In using Falcon, does async include a hook to monkey-patch
Kernel#sleep
withAsync#sleep
?em-synchrony has the following hook/logic you can add to your code if using something like Goliath.
Beta Was this translation helpful? Give feedback.
All reactions