How can a task return a Queue?

In reply to szy0014:

Hi, Dave,

Could you please explain what do you mean by “If the task is going to update the queue before some delay” we could use a ref argument ?

Why the key word ref could provide some delay here, it appears to me that only difference is that how to copy the q (output means task copy the value when it ends, the ref means we pass the handle of variable inside the task)…

Thanks,

WangYang