Parameters: | loop (Loop) – loop object where this handle runs (accessible through Check.loop). |
---|
Check handles are usually used together with Prepare 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.
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 the Check handle.