RawFlowVar was renamed to FlowVarBase
This commit is contained in:
parent
1c0bbcff5a
commit
5799f4f103
2 changed files with 2 additions and 2 deletions
|
|
@ -33,7 +33,7 @@ variables at the same time:
|
|||
|
||||
# wait until 2 out of 3 servers received the update:
|
||||
proc main =
|
||||
var responses = newSeq[RawFlowVar](3)
|
||||
var responses = newSeq[FlowVarBase](3)
|
||||
for i in 0..2:
|
||||
responses[i] = spawn tellServer(Update, "key", "value")
|
||||
var index = awaitAny(responses)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue