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

Callback for Trigger method #401

Open
prasadkrn83 opened this issue Jul 23, 2019 · 0 comments
Open

Callback for Trigger method #401

prasadkrn83 opened this issue Jul 23, 2019 · 0 comments

Comments

@prasadkrn83
Copy link

As per the definition of the trigger method accepts a single string or an array of string and the first string that gets matched to the defined commands gets invoked.

  1. What happens if none of the given strings are matched? will annyang trigger a resultnomatch on each of the strings or only once at the the end?
  2. is there a way to stop resultnomatch to be triggered when the annyang trigger method is being called
  3. is there a way to have a call back to trigger when all the strings in the array has been attempted to be triggered?
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

No branches or pull requests

1 participant