def send_msg(self, workerId: str, message: str):
    ' Find the socket descriptor mapped by workerId and send them a message.\n\n            Args:\n                workerId: UUID string used to identify and retrieve a worker.\n                message: Message to be send.\n        '
    socket = self.connections.get(workerId, None)
    if socket:
        socket.send(message)
Find the socket descriptor mapped by workerId and send them a message.

Args:
    workerId: UUID string used to identify and retrieve a worker.
    message: Message to be send.
def send_msg(self, workerId: str, message: str):
    ' Find the socket descriptor mapped by workerId and send them a message.\n\n            Args:\n                workerId: UUID string used to identify and retrieve a worker.\n                message: Message to be send.\n        '
    socket = self.connections.get(workerId, None)
    if socket:
        socket.send(message)