def as_signal(method):
    setattr(method, METHOD_RPC_AS_SIGNAL_ATTR, True)
    return method

# for better mock patching
Decorate method as a signal on the server side. On the client side it must
dataset/ETHPy150Open dsiroky/snakemq/snakemq/rpc.py/as_signal