Open stephane-archer opened 2 months ago
Writing the class docs:
stream won't close until close is called on the group and every stream in the group closes
The toList
waits for the stream to close, which it doesn't.
Call streamGroup.ckose()
after the loop, when you know you won't add more streams.
await streamGroup.stream.toList();
never return