Skip to content

Commit 3165ce2

Browse files
adamhaafizheckj
authored andcommitted
Update pattern-cascading-update-interface.adoc
1 parent 096147d commit 3165ce2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pattern-cascading-update-interface.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The general pattern of this view starts with a textfield that accepts user input
4848
2. We have a subscriber (`usernameSubscriber`) attached `$username` publisher, which publishes the value on change and attempts to retrieve the GitHub user.
4949
The resulting variable `githubUserData` (also <<reference#reference-published,@Published>>) is a list of GitHub user objects.
5050
Even though we only expect a single value here, we use a list because we can conveniently return an empty list on failure scenarios: unable to access the API or the username isn't registered at GitHub.
51-
3. We have the `passthroughSubject` `apiNetworkActivitySubscriber` to reflect when the GithubAPI object starts or finishes making network requests.
51+
3. We have the `passthroughSubject` `networkActivityPublisher` to reflect when the GithubAPI object starts or finishes making network requests.
5252
4. We have a another subscriber `repositoryCountSubscriber` attached to `$githubUserData` publisher that pulls the repository count off the github user data object and assigns it to a text field to be displayed.
5353
5. We have a final subscriber `avatarViewSubscriber` attached to `$githubUserData` that attempts to retrieve the image associated with the user's avatar for display.
5454

0 commit comments

Comments
 (0)