def run_on_executor(fn):
    @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
Inequality comparison. See L{__eq__}.
dataset/ETHPy150Open D-L/SimpleBookMarks/src/tornado/concurrent.py/run_on_executor--crossover with--dataset/ETHPy150Open twisted/ldaptor/ldaptor/interfaces.py/ILDAPEntry.__ne__