Skip to content

Commit b251dbe

Browse files
committed
Fix select examples in spec
1 parent bcc0811 commit b251dbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/spec.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,13 +486,13 @@ For example, given two processes, `p1` and `p2`, the following select will wait
486486

487487
```
488488
// Wait for
489-
!(p1 | p2 | 5000)
489+
!(p1, p2, 5000)
490490
```
491491

492492
A select operator can be used in a chain by including the ripple operator (`~`) to refer to the chained value. For example, to wait for a process, but timeout after one second:
493493

494494
```
495-
p1 ~> !(~ | 1000)
495+
p1 ~> !(~, 1000)
496496
```
497497

498498
### Referring to processes

0 commit comments

Comments
 (0)