Check — Check handle

class pyuv.Check(loop)
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.

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.

Previous topic

Idle — Idle handle

Next topic

Signal — Signal handle

This Page