4 ms·
So: A channel with buffer size 1, so long as it is only written to once and read from once, feels a lot like a Promise.
by davery22 2y ago
So: A channel with buffer size 1, so long as it is only written to once and read from once, feels a lot like a Promise.
- teraflop 2y agoA variable you can only read once is a lot less useful than a variable you can read as many times as you want. Same goes for promises.