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

Predicate functions #103

Open
dfarr opened this issue Apr 16, 2024 · 0 comments
Open

Predicate functions #103

dfarr opened this issue Apr 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dfarr
Copy link
Member

dfarr commented Apr 16, 2024

Add an option to include a predicate function when running a resonate function.

A predicate function takes the result of a resonate function execution as an argument and returns either true or false. If false, resonate will treat the result as an error and throw, triggering the retry policy.

@dfarr dfarr added the enhancement New feature or request label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant