executorlib.standalone.interactive.communication.interface_receive

executorlib.standalone.interactive.communication.interface_receive#

executorlib.standalone.interactive.communication.interface_receive(socket: Socket | None) dict[source]#

Receive instructions from a SocketInterface instance.

Parameters:

socket (zmq.Socket) – socket for the connection

Returns:

Deserialized dictionary received from the socket, or an empty dict if socket is None.

Return type:

dict