(executionId: string, response: ResumeResponse)
| 1078 | const onResumeSettled = (executionId: string): Effect.Effect<void> => |
| 1079 | config.pausedExecutionHooks?.onResumeSettled?.(executionId) ?? Effect.void; |
| 1080 | const resumeWithLifecycle = (executionId: string, response: ResumeResponse) => |
| 1081 | Effect.gen(function* () { |
| 1082 | yield* onResumeStarted(executionId); |
| 1083 | return yield* engine.resume(executionId, response); |
| 1084 | }).pipe(Effect.ensuring(onResumeSettled(executionId))); |
| 1085 | |
| 1086 | const localExecutionAlreadySettled = (executionId: string): Effect.Effect<boolean> => |
| 1087 | engine.isExecutionSettled?.(executionId) ?? Effect.succeed(false); |
no test coverage detected