jupylet/app.py
def schedule_interval_soft(self, interval, *args, **kwargs):
        """Schedule a function to be called every ``interval`` seconds.
        
        This method is similar to `schedule_interval`, except that the
        clock will move the interval out of phase with other scheduled
        functions so as to distribute CPU more load evenly over time.
        """
        def schedule0(foo):

            if inspect.iscoroutinefunction(foo):
                raise TypeError('Coroutine functions can only be scheduled with schedule_once() and its aliases.')
                
            if inspect.isgeneratorfunction(foo):
                raise TypeError('Generator functions can only be scheduled with schedule_once() and its aliases.')
                
            self.unschedule(foo)
            self.schedules.setdefault(foo.__name__, {})['func'] = foo
            self.clock.schedule_interval_soft(foo, interval, *args, **kwargs)

            return foo

        return schedule0
Schedule a function to be called every ``interval`` seconds.
        
        This method is similar to `schedule_interval`, except that the
        clock will move the interval out of phase with other scheduled
        functions so as to distribute CPU more load evenly over time.
        
Schedule a function to be called every ``interval`` seconds.
This method is similar to `schedule_interval`, except that the
clock will move the interval out of phase with other scheduled
functions so as to distribute CPU more load evenly over time.
Schedule a function to be called every ` ` interval ` ` seconds . This method is similar to ` schedule_interval ` except that the clock will move the interval out of phase with other scheduled functions so as to distribute CPU more load evenly over time .
def schedule_interval_soft(self, interval, *args, **kwargs):
        def schedule0(foo):
            if inspect.iscoroutinefunction(foo):
                raise TypeError('Coroutine functions can only be scheduled with schedule_once() and its aliases.')
            if inspect.isgeneratorfunction(foo):
                raise TypeError('Generator functions can only be scheduled with schedule_once() and its aliases.')
            self.unschedule(foo)
            self.schedules.setdefault(foo.__name__, {})['func'] = foo
            self.clock.schedule_interval_soft(foo, interval, *args, **kwargs)
            return foo
        return schedule0
def schedule_interval_soft ( self , interval , * args , ** kwargs ) : def schedule0 ( foo ) : if inspect . iscoroutinefunction ( foo ) : raise TypeError ( 'Coroutine functions can only be scheduled with schedule_once() and its aliases.' ) if inspect . isgeneratorfunction ( foo ) : raise TypeError ( 'Generator functions can only be scheduled with schedule_once() and its aliases.' ) self . unschedule ( foo ) self . schedules . setdefault ( foo . __name__ , { } ) [ 'func' ] = foo self . clock . schedule_interval_soft ( foo , interval , * args , ** kwargs ) return foo return schedule0
Schedule a function to be called every ``interval`` seconds.
Schedule a function to be called every ` ` interval ` ` seconds .
"""Schedule a function to be called every ``interval`` seconds.
        
        This method is similar to `schedule_interval`, except that the
        clock will move the interval out of phase with other scheduled
        functions so as to distribute CPU more load evenly over time.
        """
self
interval