Skip to content

Use a custom future #53

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

Merged
merged 4 commits into from
Mar 18, 2025
Merged

Conversation

igalshilman
Copy link
Contributor

No description provided.

@@ -110,7 +121,7 @@ def run(self,
action: RunAction[T],
serde: Serde[T] = JsonSerde(),
max_attempts: typing.Optional[int] = None,
max_retry_duration: typing.Optional[timedelta] = None) -> Awaitable[T]:
max_retry_duration: typing.Optional[timedelta] = None) -> RestateDurableFuture[T]:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just be aware that this needs additional wiring, so step 4 :)

@igalshilman igalshilman merged commit 3cd0f0a into restatedev:main Mar 18, 2025
4 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants