top | item 34659269

(no title)

lilactown | 3 years ago

AFAICT after the first write, the inner promise is resolved and will return the same value it was resolved with even if subsequent writes are made. This is totally different than Go-like channels which can receive multiple writes, often handling buffering them until they are consumed.

discuss

order

pcattori|3 years ago

That's correct. The last three paragraphs of the article cover this and include links to libraries that have "full" channel implementations.