I think these names are a bit confusing, especially `resolver`. I'd prefer the more verbose `resolvePromise2` and `rejectPromise2`.