Type Alias: HoldRejections
Documentation / @wtf/project-wpt / index / HoldRejections
type HoldRejections = (listener) => () => void;Defined in: packages/project-wpt/src/index.ts:68
Gives listener each rejection no one handles, as the program reports it, until the function
it returns is called, and no other listener of the program hears it meanwhile: a test file
rejects on purpose.
Parameters
| Parameter | Type |
|---|---|
listener | (reason, promise) => void |
Returns
() => void
