Tuple type representing the arguments that can be passed to the wait method.
Type of the result returned by the wait method.
Waits for an event to occur, optionally aborting the wait if the provided AbortSignal is triggered.
Arguments to pass to the wait operation. The last argument can be an optional AbortSignal to cancel the wait operation.
A promise that resolves when the event occurs, or rejects if the operation is aborted.
Interface representing an object that can be waited on.