def to_asyncio_future(tornado_future):
 tornado_future = convert_yielded(tornado_future)
 af = asyncio.Future()
 tornado.concurrent.chain_future(tornado_future, af)
 return af

def to_asyncio_future ( tornado_future ) : tornado_future = convert_yielded ( tornado_future ) af = asyncio . Future ( ) tornado . concurrent . chain_future ( tornado_future , af ) return af
convert a tornado .