examples/timer_task.py
def run(self, interval, n):
        """Count at the given interval the given number of times.

        Positional arguments:
        interval - (int) Interval, in seconds.
        n - (int) Number of times to count the given interval.
        """
        self.interval = interval
        timer_sleep_all(interval, n)
        sq.echo(f"Slept {interval * n} seconds total.")
Count at the given interval the given number of times.

        Positional arguments:
        interval - (int) Interval, in seconds.
        n - (int) Number of times to count the given interval.
        
Count at the given interval the given number of times.
Positional arguments:
interval - (int) Interval, in seconds.
n - (int) Number of times to count the given interval.
Count at the given interval the given number of times . Positional arguments : interval - ( int ) Interval in seconds . n - ( int ) Number of times to count the given interval .
def run(self, interval, n):
        self.interval = interval
        timer_sleep_all(interval, n)
        sq.echo(f"Slept {interval * n} seconds total.")
def run ( self , interval , n ) : self . interval = interval timer_sleep_all ( interval , n ) sq . echo ( f"Slept {interval * n} seconds total." )
Count at the given interval the given number of times.
Count at the given interval the given number of times .
"""Count at the given interval the given number of times.

        Positional arguments:
        interval - (int) Interval, in seconds.
        n - (int) Number of times to count the given interval.
        """
self
interval
n