Parameters: loop (
Loop) – loop object where this handle runs (accessible through
Preparehandles are usually used together with
Checkhandles. They run just before the event loop ia about to block for I/O. The callback will be called once each loop iteration, before I/O.
Parameters: callback (callable) – Function that will be called when the
Preparehandle is run by the event loop.