]> git.ipfire.org Git - thirdparty/tornado.git/commit
concurrent: Introduce future_add_done_callback
authorBen Darnell <ben@bendarnell.com>
Mon, 5 Jun 2017 00:52:51 +0000 (20:52 -0400)
committerBen Darnell <ben@bendarnell.com>
Sun, 5 Nov 2017 16:17:50 +0000 (11:17 -0500)
commit89b46a51720776a57cbdf89e8615a09cc020404a
treea92932efd915326bf1d5319526654b2aefaf9da1
parent4ccfc4c3f7fa7fdf68e4bbd03a0a654c1330a02f
concurrent: Introduce future_add_done_callback

This function guarantees synchronous execution of the callback for
Futures that are already done, allowing the Future implementation to
change to one that does not provide this guarantee.
tornado/concurrent.py
tornado/gen.py
tornado/http1connection.py
tornado/ioloop.py
tornado/tcpclient.py