| 22 | |
| 23 | // When `getOneMessage()` could not complete due to an early disconnection |
| 24 | export const throwOnEarlyDisconnect = isSubprocess => { |
| 25 | throw new Error(`${getMethodName('getOneMessage', isSubprocess)} could not complete: the ${getOtherProcessName(isSubprocess)} exited or disconnected.`); |
| 26 | }; |
| 27 | |
| 28 | // When both processes use `sendMessage()` with `strict` at the same time |
| 29 | export const throwOnStrictDeadlockError = isSubprocess => { |
no test coverage detected
searching dependent graphs…