Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make winner implicitly check a channel's done too
The concept of making a channel have a boolean operator to return the done promise was bad for two reasons: 1) the logic of it was backwards from promise booleans, and 2) making a boolean op return a non-boolean is just a bad idea, and the person who proposed it should be ashamed.
- Loading branch information
Showing
1 changed file
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters