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

Add basic monitors #3

Open
GuiltyDolphin opened this issue Sep 14, 2016 · 0 comments
Open

Add basic monitors #3

GuiltyDolphin opened this issue Sep 14, 2016 · 0 comments

Comments

@GuiltyDolphin
Copy link
Owner

GuiltyDolphin commented Sep 14, 2016

_More to come (feel free to comment suggestions)_

The following monitors should be provided (at least):

Base

  • default - The base-most trigger

First-level monitors

  • trigger (default) - used to run every instance's :trigger function when its own is executed.
Second-level monitors
  • hook (trigger) - wraps hooks, triggering when they are run.
  • tick (trigger) - interval timers, run every X seconds.
  • span (trigger) - supports an 'active' period, which may be tested. Can be active (or not) while enabled. Example: an instance might have an active period that is during daylight time.
Third-level monitors
  • expression-value (hook) - instances are run when the value of an expression changes (via post-command-hook) <--- the original monitor
  • time-span (span) - instances are active between two times, with optional repeats (every day, for example).
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