

def as_signal(self, timeout=0):
    '\n        Mark the method as a signal method and set timeout. Setting timeout\n        to None marks the method back as regular.\n\n        :param timeout: in seconds\n        '
    self.signal_timeout = timeout

dataset/ETHPy150Open dsiroky/snakemq/snakemq/rpc.py RemoteMethod.as_signal/original