Currently the asyncio event loop simply calls time.monotonic(), so we can easily query the resolution with time.get_clock_info('monotonic').resolution, but in case the asyncio implementation changes do we have a public API available for querying that new monotonic clock's resolution (i.e., can we query the resolution of asyncio.get_event_loop().time())?
from How to query Python event loop monotonic clock resolution
No comments:
Post a Comment