OptionalabortOptionalfilter(Optional) If provided, will only resolve if the event passes this predicate.
OptionaltimeoutIf provided, the promise will reject after this duration, in seconds, if not resolved.
OptionaltimeoutThe timeout message. If not provided will use DEFAULT_TIMEOUT_MESSAGE.
(Optional) If provided, will reject the promise if the signal is aborted.