We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8a043e commit e967933Copy full SHA for e967933
src/stateMachine/StateExecutor.ts
@@ -128,7 +128,7 @@ export class StateExecutor {
128
// Handle `Retry` logic
129
const { shouldRetry, waitTimeBeforeRetry } = this.shouldRetry(error as RuntimeError);
130
if (shouldRetry && waitTimeBeforeRetry) {
131
- await sleep(waitTimeBeforeRetry);
+ await sleep(waitTimeBeforeRetry, options.abortSignal);
132
return this.execute(input, context, options);
133
}
134
0 commit comments