You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perhaps we can introduce a sendOrThrow function that throws when the channel is closed? Such a function could optionally be used in place of send. Would this work for you?
This library is heavily modeled after go and one of those design choices is not allowing a send on closed channel. However we can support both by making a more explicit function for this behavior.
It will be good if the API can be improved to avoid fatalError. e.g. throw or return false on trying to send on a closed channel.
The text was updated successfully, but these errors were encountered: