Returns a promise resolved in the next event loop - think `setImmediate()`
by sindresorhusJavaScript
Last 12 weeks · 0 commits
4 of 6 standards met
Repository: sindresorhus/p-immediate. Description: Returns a promise resolved in the next event loop - think `setImmediate()` Stars: 72, Forks: 6. Primary language: JavaScript. Languages: JavaScript (80.8%), TypeScript (19.2%). License: MIT. Latest release: v4.0.0 (4y ago). Open PRs: 0, open issues: 0. Last activity: 4y ago. Community health: 71%. Top contributors: sindresorhus, BendingBender, Richienb, mastilver.
It would be helpful if we could just use , which would resolve after 3 microtasks.