We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4ff5ce commit 1da17b7Copy full SHA for 1da17b7
S17-supply/syntax.t
@@ -1,7 +1,7 @@
1
use v6;
2
use Test;
3
4
-plan 71;
+plan 72;
5
6
{
7
my $s = supply {
@@ -329,6 +329,13 @@ plan 71;
329
is $i, 2, 'react/whenever with supply that immediately emits values works';
330
}
331
332
+# RT #128717
333
+{
334
+ my $i = 0;
335
+ react whenever Supply.interval: 0.01 { done() if $_ == 3; $i++ }
336
+ is $i, 3, 'blockless react/whenever works';
337
+}
338
+
339
340
my $trigger1 = Supplier.new;
341
my $trigger2 = Supplier.new;
0 commit comments