code: def add_callback(self, callback, *args, **kwargs):
      if self.closing:
          # TODO: this is racy; we need a lock to ensure that the
          # loop isn't closed during call_soon_threadsafe.
          raise RuntimeError("IOLoop is closing")
      self.asyncio_loop.call_soon_threadsafe(
          self._run_callback,
          functools.partial(
              stack_context.wrap(callback), *args, **kwargs
          ),
      )
  
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 11 for calling the BaseAsyncIOLoop obj's underlying member method code with example usage: obj.add_callback(callback) without return types