Check
– check handle¶
-
class
uv.
Check
(loop=None, callback=None)[source]¶ Check handles will run the given callback once per loop iteration, right after polling for IO.
Raises: uv.UVError – error during the initialization of the handle
Parameters: - loop (Loop) – event loop which should be used for the handle
- callback ((uv.Check) -> None) – callback which should be called right after polling for IO
-
callback
¶ Callback which should be called after polling for IO.
-
callback
(Check-Handle)
Readonly: False Type: (uv.Check) -> None -
-
start
(callback=None)[source]¶ Starts the handle.
Raises: - uv.UVError – error while starting the handle
- uv.HandleClosedError – handle has already been closed or is closing
Parameters: callback ((uv.Check) -> None) – callback which should be called after polling for IO
-
stop
()[source]¶ Stops the handle, the callback will no longer be called.
Raises: uv.UVError – error while stopping the handle