Skip to content

feat(cloudflare): add abort retryAlarm on DurableObjectState - #1374

Open
sam-goodwin wants to merge 1 commit into
mainfrom
feat/do-abort-retry-alarm
Open

feat(cloudflare): add abort retryAlarm on DurableObjectState#1374
sam-goodwin wants to merge 1 commit into
mainfrom
feat/do-abort-retry-alarm

Conversation

@sam-goodwin

Copy link
Copy Markdown
Contributor

Pass { retryAlarm: false } through the Effect wrapper on DurableObjectState.abort so an interrupted alarm does not retry after the isolate resets.

yield* state.abort("Cleanup complete", { retryAlarm: false });

Bumps @cloudflare/workers-types to 5.20260826.1, which types the new options argument.

Forward `{ retryAlarm }` through the Effect wrapper so an interrupted
Durable Object alarm can be cancelled instead of retrying after reset.
Bump @cloudflare/workers-types to 5.20260826.1, which types the option.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant