Using Python websocket-client along with multiprocessing.Pool I'm able to spawn 3 instances of the websocket-client with each connected to a different URL and writing the data to 3 separate dictionaries.
My goal is to have a 4th process running that would be able to READ the data from all 3 dictionaries as they are updated.
What is the best way to share data between these processes?
I've looked at the multiprocessing examples but because a websocket.WebSocketApp takes a parameter that includes a function name to call (on_message) and it doesn't accept additional custom parameters, I'm not clear that the on_message functions would be able to be passed an instance of a Value or Pipe, etc.