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 greedy sequence matching with timeout before callback / event is fired #4

Open
rheone opened this issue Nov 13, 2013 · 0 comments
Labels
enhancement New feature or request

Comments

@rheone
Copy link
Member

rheone commented Nov 13, 2013

Allow the creation of greed sequences that can override the match of less greedy sequences.

associations of sequence "Longer" would be fired over associations if sequence "Long"

This of course would introduce a delay (timeout) after the entry of sequence, but may be negligible under the right circumstances.

rheone added a commit that referenced this issue Dec 11, 2013
initial implementation of "Allow greedy sequence matching with timeout
before callback / event is fired" issue request #4

added new 'greedyTimeoutMs' option (that is defaulted to 0) that defines
the time chord will wait to process a greedy pattern before attempting
to process what is already in the buffer. Any value <=0 will immediately
process the buffer
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
None yet
Development

No branches or pull requests

1 participant