(executionId: string, response: ResumeResponse)
| 1163 | const onResumeSettled = (executionId: string): Effect.Effect<void> => |
| 1164 | config.pausedExecutionHooks?.onResumeSettled?.(executionId) ?? Effect.void; |
| 1165 | const resumeWithLifecycle = (executionId: string, response: ResumeResponse) => |
| 1166 | Effect.gen(function* () { |
| 1167 | yield* onResumeStarted(executionId); |
| 1168 | return yield* engine.resume(executionId, response); |
| 1169 | }).pipe(Effect.ensuring(onResumeSettled(executionId))); |
| 1170 | |
| 1171 | const localExecutionAlreadySettled = (executionId: string): Effect.Effect<boolean> => |
| 1172 | engine.isExecutionSettled?.(executionId) ?? Effect.succeed(false); |
no test coverage detected