Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Getting connectionList now always returns the same object
This update should address last Pull Request comments, as well as #281. Note I ended up introducing two new idioms to talk about the Promise and PresentationConnectionList singletons, as I believe it improves the readability of algorithms, and makes the list of objects that user agents need to maintain explicit. However, as usual, finding names for things is hard. I came up with "presentation controllers monitor" and "presentation controllers promise". It may be possible to find better names. For instance, instead of "monitor", we could use "manager", "holder", "wrapper", "container".
- Loading branch information
Showing
1 changed file
with
62 additions
and
39 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