code: def to_asyncio_future(tornado_future):
      """Convert a Tornado yieldable object to an `asyncio.Future`.
  
      .. versionadded:: 4.1
  
      .. versionchanged:: 4.3
         Now accepts any yieldable object, not just
         `tornado.concurrent.Future`.
      """
      tornado_future = convert_yielded(tornado_future)
      af = asyncio.Future()
      tornado.concurrent.chain_future(tornado_future, af)
      return af
  
imports: from __future__ import absolute_import, division, print_function
  import functools
  import tornado.concurrent
  from tornado.gen import convert_yielded
  from tornado.ioloop import IOLoop
  from tornado import stack_context
label_desc: Use image node_id 2 for calling a global function with example usage: to_asyncio_future(tornado_future) and returns: af