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

Allow setAlarm to be invoked in Durable Object constructors #372

Merged
merged 1 commit into from
Feb 14, 2023

Conversation

bcaimano
Copy link
Contributor

For implementation reasons, we cannot confirm the presence of an alarm handler during the invocation of a durable object's constructor. That said, we also cannot confirm the absence of that handler either. Let's just lean on the alarm runner to do the right thing when the time comes.

@bcaimano bcaimano requested review from jasnell and xortive February 13, 2023 19:19
For implementation reasons, we cannot confirm the presence of an alarm handler during the invocation of a durable object's constructor. That said, we also cannot confirm the absence of that handler either. Let's just lean on the alarm runner to do the right thing when the time comes.
@bcaimano bcaimano force-pushed the bcaimano/alarm-in-ctor branch from d23b142 to edfecbb Compare February 13, 2023 20:10
@bcaimano bcaimano merged commit 0efe8ae into main Feb 14, 2023
@fhanau fhanau deleted the bcaimano/alarm-in-ctor branch March 8, 2024 03:25
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.

4 participants