Documentation for method poll, assembled from the following types:
Receives and removes an item from the channel. If no item is present, returns
Nil instead of waiting.
my = Channel.new;Promise.in(2).then:^10 .map();loop
receive for a blocking version that properly responds to channel closing and failure.