def after(self, fn):
        @functools.wraps(fn)
        def wrap(*args, **kws):
            with self:
                return fn(*args, **kws)
        return wrap

# -----------------------------------------------------------------------------
# The rest are for testing
A decorator for a function. Service is triggered on return.
dataset/ETHPy150Open numba/numba/numba/servicelib/service.py/Service.after