Check
— Check handle¶
-
class
pyuv.
Check
(loop)¶ Parameters: loop ( Loop
) – loop object where this handle runs (accessible throughCheck.loop
).Check
handles are usually used together withPrepare
handles. 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 Check
handle is run by the event loop.Start the
Check
handle.Callback signature:
callback(check_handle)
.
-
stop
()¶ Stop the
Check
handle.
-