(executionId: string, response: ResumeResponse)
| 1130 | const onResumeSettled = (executionId: string): Effect.Effect<void> => |
| 1131 | config.pausedExecutionHooks?.onResumeSettled?.(executionId) ?? Effect.void; |
| 1132 | const resumeWithLifecycle = (executionId: string, response: ResumeResponse) => |
| 1133 | Effect.gen(function* () { |
| 1134 | yield* onResumeStarted(executionId); |
| 1135 | return yield* engine.resume(executionId, response); |
| 1136 | }).pipe(Effect.ensuring(onResumeSettled(executionId))); |
| 1137 | |
| 1138 | const localExecutionAlreadySettled = (executionId: string): Effect.Effect<boolean> => |
| 1139 | engine.isExecutionSettled?.(executionId) ?? Effect.succeed(false); |
no test coverage detected