3.22.2. Constructor & Destructor Documentation

3.22.2.1. __init__()

DataHubConnection.Timer.__init__ ( self, loop, initial_wait, interval, callback, * args, ** kwargs)

Initialize the Timer object.

Arguments:
    loop: The event loop.
    initial_wait: The initial wait period in milliseconds.
    interval: The interval period in milliseconds.
    callback: The callback function to trigger.
    args: Additional arguments for the callback.
    kwargs: Additional keyword arguments for the callback.