26 ms·
I know nothing about go, but assuming the reading end of the channel is running concurrently, the only way to meaningfully check for closeness is actually tryin
by gpderetta 10y ago
I know nothing about go, but assuming the reading end of the channel is running concurrently, the only way to meaningfully check for closeness is actually trying, any other check would be meaningless as an open channel could have been closed immediately after the check would have returned 'closed'.