3.21.2. Constructor & Destructor Documentation

3.21.2.1. __init__()

DataHubConnection.PreciseTimer.__init__ ( self, loop, initial_wait_ms, repeat_interval_ms, callback, * args, ** kwargs)

Initialize the PreciseTimer object.

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