# Posts by tag 'event emitter' — Liran Tal

AI security researcher, open-source maintainer, and author. Explore Liran Tal’s blog, research papers, developer tools, books, and conference talks.

Canonical: https://lirantal.com/tag/event-emitter

[![](/_astro/nodejs-promise-with-resolvers.kmjXuem5_Z12T1md.jpg)

Aug 30, 2024 3 min read

### Using Promise.withResolvers in Node.js Tests

This article explores the use of \`Promise.withResolvers\` in Node.js tests, providing examples and refactoring techniques to handle nested tests and signal their completion effectively. It also discusses the limitations of the \`Promise.withResolvers\` API in different Node.js versions.](/blog/promise-with-resolvers-in-nodejs-tests)

*   [javascript](/tag/javascript)
*   [promises](/tag/promises)
*   [event emitter](/tag/event-emitter)
