create a promise with external (i.e. outside of scope) resolve and reject controls. this was created before the existence of Promise.withResolvers. if you'd like to use that instead, see the alias promise_withResolvers.
create a promise with external (i.e. outside of scope) resolve and reject controls. this was created before the existence of Promise.withResolvers. if you'd like to use that instead, see the alias promise_withResolvers.