For regular Channels
chan it is ok to do
for val in chan @show val end
but for a RemoteChannel there is no
iterate(::RemoteChannel). Is that one missing on purpose? What’s the proper way to spawn a task on a worker that processes all messages coming in via a RemoteChannel until it is closed?