A function which receives an AbortSignal and returns a Promise. It should pass this AbortSignal on to any abortable jobs it creates.
OptionalabortController: AbortControllerThe AbortController in charge of aborting this promise. If not provided, a new one will be constructed.
Build a promise that can be aborted using an
AbortSignal.