| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
@nodejs/timers |
Sorry, something went wrong.
|
|
||
| Returns an async iterator that generates values in an interval of `delay` ms. | ||
| If `ref` is `true`, you need to call `next()` of async iterator explicitly | ||
| or implicitly to keep the event loop alive. |
There was a problem hiding this comment.
I think we usually use the word "open" instead of "alive" to describe the event loop, but let's ping @nodejs/documentation for confirmation.
| or implicitly to keep the event loop alive. | |
| or implicitly to keep the event loop open . |
Sorry, something went wrong.
There was a problem hiding this comment.
The document uses active and Libuv uses alive 🤔.
Sorry, something went wrong.
|
@Trott Hi, can this PR be merged ? |
Sorry, something went wrong.
Yes. If I want to try to get consistency across all our docs regarding event loop terminology, I'll do that in a separate PR. There's no reason to hold this one up over that, though. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
add more info for timer.setInterval.
Refs: #45224