

def __init__(self, channel, freq=5, passive=False):
    self._closed = False
    self._channel = channel
    self._heartbeat_freq = freq
    self._input_queue = gevent.queue.Channel()
    self._remote_last_hb = None
    self._lost_remote = False
    self._recv_task = gevent.spawn(self._recver)
    self._heartbeat_task = None
    self._parent_coroutine = gevent.getcurrent()
    channel._compat_v2 = None
    if (not passive):
        self._start_heartbeat()

dataset/ETHPy150Open 0rpc/zerorpc-python/zerorpc/heartbeat.py HeartBeatOnChannel.__init__/VarMisuse@91/119 `self`->`channel`