Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Durable Objects] Adding info on alarmInfo parameter for alarm() #18591

Merged
merged 6 commits into from
Dec 10, 2024

Conversation

Oxyjun
Copy link
Contributor

@Oxyjun Oxyjun commented Dec 5, 2024

Summary

Screenshots (optional)

Documentation checklist

  • The documentation style guide has been adhered to.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
  • Files which have changed name or location have been allocated redirects.

@Oxyjun Oxyjun requested review from elithrar, vy-ton, joshthoward and a team as code owners December 5, 2024 15:21
Copy link
Collaborator

@elithrar elithrar Dec 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a changelog entry for this please?

Durable Objects [Alarms](/durable-objects/api/alarms/) now have a new `alarmInfo` argument that provides more details about an alarm invocation, including the `retryCount` and `isRetry` to signal if the alarm was retried.

Ensure you are using `@cloudflare/workers-types` version `4.20241106.0` or later to see the new method signature.

cc @vy-ton

Copy link

cloudflare-workers-and-pages bot commented Dec 5, 2024

Deploying cloudflare-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: e6f165c
Status: ✅  Deploy successful!
Preview URL: https://15833132.cloudflare-docs-7ou.pages.dev
Branch Preview URL: https://jun-do-alarm-parameter.cloudflare-docs-7ou.pages.dev

View logs

@github-actions github-actions bot added size/s product:durable-objects Durable Objects: https://developers.cloudflare.com/workers/learning/using-durable-objects/ labels Dec 5, 2024
@Oxyjun Oxyjun merged commit ad1150d into production Dec 10, 2024
12 checks passed
@Oxyjun Oxyjun deleted the jun/do/alarm-parameter branch December 10, 2024 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product:durable-objects Durable Objects: https://developers.cloudflare.com/workers/learning/using-durable-objects/ size/s
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants