We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
While reading the doc at https://github.com/brentburg/chan#sending-values-to-the-channel, it appears that this code should execute the callback:
ch('foo')(function (err) { if (err) { // There was an error putting the value on the channel } else { // The value was successfully put on the channel } })
In fact, it doesn't execute the callback (when ch = makeChan()). Did you mean a buffered channel here?
ch = makeChan()
P.S. Or maybe add a "yield ch" block that would make it work?
Your channels are co-compatible unlike js-csp, that's cool.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
While reading the doc at https://github.com/brentburg/chan#sending-values-to-the-channel, it appears that this code should execute the callback:
In fact, it doesn't execute the callback (when
ch = makeChan()
).Did you mean a buffered channel here?
P.S. Or maybe add a "yield ch" block that would make it work?
Your channels are co-compatible unlike js-csp, that's cool.
The text was updated successfully, but these errors were encountered: