()
| 1507 | } |
| 1508 | |
| 1509 | async function waitForCurrentWrite() { |
| 1510 | const write = state.currentWrite; |
| 1511 | await write; |
| 1512 | if (write !== state.currentWrite) |
| 1513 | await waitForCurrentWrite(); |
| 1514 | } |
| 1515 | |
| 1516 | function shutdownWithAnAction(action, rejected, originalError) { |
| 1517 | if (shuttingDown) return; |
no outgoing calls
no test coverage detected