Skip to content

add add_timer functionality #58

Description

@pohmelie

For fast prototyping Service.timer decorator is enough, but for flexible solution this need to be improved because this do not allows to:

  • Set timer interval at runtime (from config, cli, etc.)
  • Stop timer
  • Add timer at runtime

I think best approach here is pretty similar to others add_* methods. Something like add_timer will create new timer and return handle to manipulate (stop) it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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