Skip to content

Commit 0eedbb4

Browse files
committed
s/later/nobody/
1 parent 155abd8 commit 0eedbb4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

S17-concurrency.pod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ RE-DRAFT: Synopsis 17: Concurrency
1313

1414
Created: 3 Nov 2013
1515

16-
Last Modified: 16 Nov 2013
17-
Version: 7
16+
Last Modified: 18 Nov 2013
17+
Version: 8
1818

1919
This synopsis is based around the concurrency primitives and tools currently
2020
being implemented in Rakudo on the JVM. It covers both things that are
@@ -382,13 +382,13 @@ be thrown. There is also a C<winner> statement [keywords still negotiable]:
382382

383383
That will invoke the closure associated with the first promise that produces a
384384
result, either kept or broken. In order to avoid blocking, it is possible to
385-
provide a closure with the C<later> keyword, that will be invoked if none of
385+
provide a closure with the C<nobody> keyword, that will be invoked if none of
386386
the promises currently have a result available.
387387

388388
winner $p1, $p2 {
389389
done $p1 { say "First promise got a value" }
390390
done $p2 { say "Second promise got a value" }
391-
later { say "Not done yet" }
391+
nobody { say "Not done yet" }
392392
}
393393

394394
The construct as a whole returns the result of whichever block was selected.

0 commit comments

Comments
 (0)