(executionId: string, response: ResumeResponse)
| 1144 | const onResumeSettled = (executionId: string): Effect.Effect<void> => |
| 1145 | config.pausedExecutionHooks?.onResumeSettled?.(executionId) ?? Effect.void; |
| 1146 | const resumeWithLifecycle = (executionId: string, response: ResumeResponse) => |
| 1147 | Effect.gen(function* () { |
| 1148 | yield* onResumeStarted(executionId); |
| 1149 | return yield* engine.resume(executionId, response); |
| 1150 | }).pipe(Effect.ensuring(onResumeSettled(executionId))); |
| 1151 | |
| 1152 | const localExecutionAlreadySettled = (executionId: string): Effect.Effect<boolean> => |
| 1153 | engine.isExecutionSettled?.(executionId) ?? Effect.succeed(false); |
no test coverage detected