Send data from worker to client using a data queue
send(
sends a message or data with the value pollablequeue, data)data to the
parallel.pool.PollableDataQueue specified by
pollablequeue. Retrieve the result using
poll(pollablequeue), and return
data as the answer.
Use the send and poll functions together
using a pollable data queue to transfer and retrieve messages or data from different
workers.