Send data from worker to client using a data queue
send(queue, data)
send(pollablequeue, data)
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.
afterEach
| parallel.pool.DataQueue
| parallel.pool.PollableDataQueue
| parfor
| parpool
| poll