Resets the timeout duration for the current event handler.
def reset_timeout(timeout: int) -> bool: ...
When event timeouts are being enforced, this method can be called within an event handler to inform the class that request processing is taking longer than expected.
If called successfully, this method returns True, and the current event handler's timeout timer is immediately reset to 0; when it reaches the number of milliseconds specified by Timeout, the driver will cancel the underlying OS request. Please refer to the Timeouts topic for more information.
Passing 0 for Timeout disables the timeout timer for the current event handler, allowing it to take as long as it needs to complete.
Note: This method can only be called within events.