Actions
Feature #19094
closed`sleep(nil)` vs `sleep()` and replicating the default implementation.
Feature #19094:
`sleep(nil)` vs `sleep()` and replicating the default implementation.
Description
However, I feel that this makes implementing a compatible sleep method a little difficult.
Can we consider allowing sleep(nil) and sleep(false) to be the same as sleep() to simplify this behaviour?
Otherwise, it's hard to proxy (e.g. fiber scheduler, or even just a plain old variable argument).
e.g.
Actions