Skip to content

Callback for Trigger method #401

@prasadkrn83

Description

@prasadkrn83

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions