(step, error)
| 4445 | } |
| 4446 | |
| 4447 | function notifyStepError(step, error) { |
| 4448 | const waiter = stepWaiters.get(step); |
| 4449 | console.warn(LOG_PREFIX, `[notifyStepError] step ${step}, hasWaiter=${Boolean(waiter)}, error=${error}`); |
| 4450 | if (waiter) waiter.reject(new Error(error)); |
| 4451 | } |
| 4452 | |
| 4453 | async function completeStepFromBackground(step, payload = {}) { |
| 4454 | if (stopRequested) { |
no outgoing calls
no test coverage detected