Closed Olegt0rr closed 5 months ago
asyncio.sleep(...) method has a delay arg, which in turn is used in the loop.call_later(...) call, which accepts a float type as well as int:
delay
float
int
delay number of seconds (can be either an int or a float)
Since ping interval is used as an argument for calling asyncio.sleep() only, we should accept float type for ping interval as well as int
ping interval
asyncio.sleep()
asyncio.sleep(...) method has a
delay
arg, which in turn is used in the loop.call_later(...) call, which accepts afloat
type as well asint
:Since
ping interval
is used as an argument for callingasyncio.sleep()
only, we should acceptfloat
type forping interval
as well asint