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

Hook triggers #4

Open
3 tasks
kylecorry31 opened this issue Mar 23, 2024 · 0 comments
Open
3 tasks

Hook triggers #4

kylecorry31 opened this issue Mar 23, 2024 · 0 comments
Labels

Comments

@kylecorry31
Copy link
Owner

Can be passed as dependencies to effect/memo - they'll only return a different value when a condition changes.

  • Predicate: Triggers when a boolean condition changes (rising, falling - for change, just use a boolean expression)
  • Time: Triggers after a certain amount of time has passed since the last time triggered
  • And: Triggers only when all passed in dependencies are changed (dependencies by default are an OR operation)

Create a generic container for triggers- it should allow easy extension with new trigger types (expected to use extension methods)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant