Closed Zylphrex closed 3 months ago
The channel only gets closed at the end of the function so iterating it will never terminate and just wait for the request to timeout. Since we know exactly how many values will be in the channel, iterate exactly that many times.
The channel only gets closed at the end of the function so iterating it will never terminate and just wait for the request to timeout. Since we know exactly how many values will be in the channel, iterate exactly that many times.