()
| 68 | }; |
| 69 | |
| 70 | const wake = () => { |
| 71 | // This assumes they won't throw. |
| 72 | callbacks.forEach(callback => callback((thenable: any).value)); |
| 73 | callbacks.clear(); |
| 74 | rejectCallbacks.clear(); |
| 75 | }; |
| 76 | const wakeRejections = () => { |
| 77 | // This assumes they won't throw. |
| 78 | rejectCallbacks.forEach(callback => callback((thenable: any).reason)); |
no test coverage detected