Wraps promise so it rejects immediately if signal aborts. Never
affects promise itself -- does not cancel or otherwise influence any
underlying shared work (see coordinator.ts: a caller giving up on waiting
is not the same as the shared execution being cancelled for every caller).
Wraps
promiseso it rejects immediately ifsignalaborts. Never affectspromiseitself -- does not cancel or otherwise influence any underlying shared work (see coordinator.ts: a caller giving up on waiting is not the same as the shared execution being cancelled for every caller).