time.schedule method

schedule(self, func: Callable[[], None], delay: float) -> Disposable:

Executes a function after a delay.

Parameters

  • func: Callable[[], None]

    function to execute after delay.

  • delay: float

    delay in seconds.

Returns