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 to sent on condition multiple times #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sandinosaso
Copy link

@sandinosaso sandinosaso commented Nov 26, 2019

  • Allow sendOnCondition to run multiples times.

This will allow us to have a better way of controlling when to send the data.

For example in the function sendOnCondition I can write some code that ANY time an action ends with _FAILURE is dispatched I want to send that to Sentry, currently to do that I need to explicitly set all the actions in the sendOn attribute (as an array of all possibilities)

What do you think about this @zalmoxisus?
Is there any reason why do you intentionally want this sendOnCondition to run only the first time the condition is met??

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.

1 participant