Commit 883fc779 authored by James M Snell's avatar James M Snell Committed by Node.js GitHub Bot
Browse files

events: allow use of AbortController with once



Allows an AbortSignal to be passed in to events.once() to cancel
waiting on an event.

Signed-off-by: default avatarJames M Snell <jasnell@gmail.com>

PR-URL: https://github.com/nodejs/node/pull/34911


Reviewed-By: default avatarDenys Otrishko <shishugi@gmail.com>
Reviewed-By: default avatarBenjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: default avatarMatteo Collina <matteo.collina@gmail.com>
parent 37a81796
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment