Check
– check handle¶
-
class
uv.
Check
(loop=None, on_check=None)[source]¶ Check handles will run the given callback once per loop iteration, right after polling for IO after they have been started.
-
on_check
¶ Callback which should run right after polling for IO if the handle has been started.
-
on_check
(check_handle) Parameters: check_handle (uv.Check) – handle the call originates from
Readonly: False Type: Callable[[uv.Check], None] -
-
start
(on_check=None)[source]¶ Start the handle. The callback will be called once per loop iteration right after polling for IO from now on.
Raises: - uv.UVError – error while starting the handle
- uv.ClosedHandleError – handle has already been closed or is closing
Parameters: on_check (Callable[[uv.Check], None]) – callback which should run right after polling for IO (overrides the current callback if specified)
-