(reasonId)
| 6902 | let cancelChecking; |
| 6903 | |
| 6904 | const removeReasonId= (reasonId)=>{ |
| 6905 | mapDelete(idToReason, reasonId); |
| 6906 | if( cancelChecking&& idToReason.size=== 0) { |
| 6907 | // No more unhandled rejections to check, just cancel the check. |
| 6908 | cancelChecking(); |
| 6909 | cancelChecking= undefined; |
| 6910 | } |
| 6911 | }; |
| 6912 | |
| 6913 | /** @type {WeakMap<Promise, ReasonId>} */ |
| 6914 | const promiseToReasonId= new WeakMap(); |
no outgoing calls
no test coverage detected