Skip to content

stop polling when module is hidden #9

Open
@E3V3A

Description

@E3V3A

No need to poll when the module is hidden. This functionality is controlled by two functions in the main module, according to:

  • suspend() - When a module is hidden (using the module.hide() method), the suspend() method will be called. By subclassing this method you can perform tasks like halting the update timers.

  • resume() - When a module is requested to be shown (using the module.show() method), the resume() method will be called. By subclassing this method you can perform tasks restarting the update timers.

We need to implement this functionality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ToDoThings that will be done, eventually. PR welcome!enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions