What should we use instead of process.nextTick
and setImmediate?
#19488
-
v0.178 removed the A result of this is that we lost Did this functionality get move or renamed or is it just gone now? |
Beta Was this translation helpful? Give feedback.
Answered by
bartlomieju
Jun 13, 2023
Replies: 2 comments
-
You can import these APIs like so:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dancrumb
-
Thanks!
…On Tue, Jun 13, 2023, 16:09 Bartek Iwańczuk ***@***.***> wrote:
You can import these APIs like so:
import { nextTick } from "node:process";
import { setImmediate } from "node:timers";
—
Reply to this email directly, view it on GitHub
<#19488 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABWCT2KLJ4K6LVA2QSMYJTXLDJKDANCNFSM6AAAAAAZFND5TU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can import these APIs like so: