Update tutorial_5.md (#23550)
`repliesSoFar` is implied here, not `answersSoFar` which is never used in tutorial
This commit is contained in:
parent
d07df2b917
commit
769f9c09cf
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ Scala
|
|||
Java
|
||||
: @@snip [DeviceGroupQuery.java]($code$/java/jdocs/tutorial_5/DeviceGroupQuery.java) { #query-state }
|
||||
|
||||
It is not yet clear how we will "mutate" the `answersSoFar` and `stillWaiting` data structures. One important thing to note is that the function `waitingForReplies` **does not handle the messages directly. It returns a `Receive` function that will handle the messages**. This means that if we call `waitingForReplies` again, with different parameters,
|
||||
It is not yet clear how we will "mutate" the `repliesSoFar` and `stillWaiting` data structures. One important thing to note is that the function `waitingForReplies` **does not handle the messages directly. It returns a `Receive` function that will handle the messages**. This means that if we call `waitingForReplies` again, with different parameters,
|
||||
then it returns a brand new `Receive` that will use those new parameters.
|
||||
|
||||
We have seen how we
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue