(executionId: string, response: ResumeResponse)
| 1589 | const onResumeSettled = (executionId: string): Effect.Effect<void> => |
| 1590 | config.pausedExecutionHooks?.onResumeSettled?.(executionId) ?? Effect.void; |
| 1591 | const resumeWithLifecycle = (executionId: string, response: ResumeResponse) => |
| 1592 | Effect.gen(function* () { |
| 1593 | yield* onResumeStarted(executionId); |
| 1594 | return yield* engine.resume(executionId, response); |
| 1595 | }).pipe(Effect.ensuring(onResumeSettled(executionId))); |
| 1596 | |
| 1597 | const localExecutionAlreadySettled = (executionId: string): Effect.Effect<boolean> => |
| 1598 | engine.isExecutionSettled?.(executionId) ?? Effect.succeed(false); |
no test coverage detected