Is there an equivalent command in tornado for delay function without affecting the main process to sleep (thus the callbacks would execute even when the main thread is dealy
Note that since 4.1 they've added a gen.sleep(delay) method.
so
yield gen.Task(IOLoop.instance().add_timeout, time.time() + 5)
would just become
yield gen.sleep(5)