Check — Check handle¶
-
class
pyuv.Check(loop)¶ Parameters: loop ( Loop) – loop object where this handle runs (accessible throughCheck.loop).Checkhandles are usually used together withPreparehandles. They run just after the event loop comes back after being blocked for I/O. The callback will be called once each loop iteration, after I/O.-
start(callback)¶ Parameters: callback (callable) – Function that will be called when the Checkhandle is run by the event loop.Start the
Checkhandle.Callback signature:
callback(check_handle).
-
stop()¶ Stop the
Checkhandle.
-