Multiple ticks / microtasks
Closed this issue · 2 comments
ChocolateLoverRaj commented
It would be helpful if we could just use pImmediate(3)
, which would resolve after 3 microtasks.
sindresorhus commented
What's the use-case for this? I cannot think of any reasonable code doing this.
ChocolateLoverRaj commented
Now that I think about it I no longer have any use-cases. I used to use a similar function which resolved after 2 microtasks, but I no longer do, so this feature is unnecessary.