def to_tornado_future(asyncio_future):
 tf = tornado.concurrent.Future()
 tornado.concurrent.chain_future(asyncio_future, tf)
 return tf

def to_tornado_future ( asyncio_future ) : tf = tornado . concurrent . Future ( ) tornado . concurrent . chain_future ( asyncio_future , tf ) return tf
convert an asyncio .