def accept(self):
        if self._closed:
            raise SocketClosedError()
        return AcceptEvent(self)
An event that waits for a connection on the listening socket.
dataset/ETHPy150Open beetbox/beets/beets/util/bluelet.py/Listener.accept