8 ms·
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 tota
by lilactown 4y 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.
- pcattori 4y agoThat's correct. The last three paragraphs of the article cover this and include links to libraries that have "full" channel implementations.