async def initialize(self) -> None:
            """\
            Initializes a `DEALER`/`ROUTER` based connection.
            The DEALER side will send a `[b'']` message;
            the router side will receive it and store the received identifier for sending messages later.
            """

            if self._socket_type == zmq.ROUTER:
                self._dealer_ident, _ = await self._sock.recv_multipart()
            elif self._socket_type == zmq.DEALER:
                await self._sock.send_multipart([b''])
            else:
                raise RuntimeError("initialize() not necessary for PAIR sockets")
async def initialize ( self ) -> None : if self . _socket_type == zmq . ROUTER : self . _dealer_ident , _ = await self . _sock . recv_multipart ( ) elif self . _socket_type == zmq . DEALER : await self . _sock . send_multipart ( [ b'' ] ) else : raise RuntimeError ( "initialize() not necessary for PAIR sockets" )
\
            Initializes a `DEALER`/`ROUTER` based connection.
            The DEALER side will send a `[b'']` message;
            the router side will receive it and store the received identifier for sending messages later.