human
I wrote the below code

    @functools.wraps(fn)
    def wrapper(self, *args, **kwargs):
        callback = kwargs.pop('callback', None)
        future = self.executor.submit(fn, self, *args, **kwargs)
        if callback:
            self.io_loop.add_future(future, (lambda future: callback(future.result())))
        return future
    return wrapper

What's a good function header?
 ... Here's a good function header?
assistant
#Here's a good function header.

def run_on_executor(fn):