Skip to content

Commit d3564fb

Browse files
committed
Make these two paragraphs conform.
1 parent 07c904c commit d3564fb

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

doc/Language/concurrency.rakudoc

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,11 +240,14 @@ At its simplest, a L<C<Supply>|/type/Supply> is a message stream that can have
240240
multiple subscribers created with the method C<tap> on to which data items can
241241
be placed with C<emit>.
242242

243-
The L<C<Supply>|/type/Supply> can either be C<live> or C<on-demand>. A C<live>
243+
There are two types of Supplies: C<live> and C<on demand>. A C<live>
244244
supply is like a TV broadcast: those who tune in don't get previously emitted
245-
values. An C<on-demand> broadcast is like Netflix: everyone who starts streaming
246-
a movie (taps a supply), always starts it from the beginning (gets all the
247-
values), regardless of how many people are watching it right now. Note that no
245+
values. An C<on-demand> broadcast is like a video streaming service:
246+
everyone who starts streaming a movie (taps a L<C<Supply>|/type/Supply>),
247+
always starts it from the beginning (gets all the values),
248+
regardless of how many people are watching it right now.
249+
250+
Note that no
248251
history is kept for C<on-demand> supplies, instead, the C<supply> block is run
249252
for each tap of the supply.
250253

doc/Type/Supply.rakudoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ and central to supporting reactive programming in Raku.
1818
There are two types of Supplies: C<live> and C<on demand>. A C<live>
1919
supply is like a TV broadcast: those who tune in don't get previously emitted
2020
values. An C<on-demand> broadcast is like a video streaming service:
21-
everyone who starts streaming a movie (taps a supply),
21+
everyone who starts streaming a movie (taps a C<Supply>),
2222
always starts it from the beginning (gets all the values),
2323
regardless of how many people are watching it right now.
2424

0 commit comments

Comments
 (0)