Skip to content

Commit

Permalink
Merge pull request kriskowal#747 from schwolf/patch-1
Browse files Browse the repository at this point in the history
Corrected mistake in design weakness explanation
  • Loading branch information
kriskowal committed Dec 6, 2015
2 parents fe9c9bb + 42c3c36 commit b58d4f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion design/README.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ maybeOneOneSecondLater().then(callback);
/*
This design has two weaknesses:
- The first caller of the then method determines the callback that is used.
- The last caller of the then method determines the callback that is used.
It would be more useful if every registered callback were notified of
the resolution.
- If the callback is registered more than a second after the promise was
Expand Down

0 comments on commit b58d4f4

Please sign in to comment.