(executionId: string, response: ResumeResponse)
| 1595 | const onResumeSettled = (executionId: string): Effect.Effect<void> => |
| 1596 | config.pausedExecutionHooks?.onResumeSettled?.(executionId) ?? Effect.void; |
| 1597 | const resumeWithLifecycle = (executionId: string, response: ResumeResponse) => |
| 1598 | Effect.gen(function* () { |
| 1599 | yield* onResumeStarted(executionId); |
| 1600 | return yield* engine.resume(executionId, response); |
| 1601 | }).pipe(Effect.ensuring(onResumeSettled(executionId))); |
| 1602 | |
| 1603 | const localExecutionAlreadySettled = (executionId: string): Effect.Effect<boolean> => |
| 1604 | engine.isExecutionSettled?.(executionId) ?? Effect.succeed(false); |
no test coverage detected