Exemple #1
0
def main():
    poller = Poller()
    poller.defer_read(0, read_ok, read_timeo, poller, 10.0)
    poller.loop()