Skip to content

Commit 800e445

Browse files
author
Jan-Olof Hendig
committed
Clarified what happens if the interval is small. See RT #130168
1 parent 4a5da6b commit 800e445

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/Type/Supply.pod6

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,9 @@ to be only executed by one thread at a time.
238238
239239
Creates a supply that emits a value every C<$interval> seconds, starting
240240
C<$delay> seconds from the call. The value is an integer, starting from 0,
241-
and is incremented by one for each value emitted.
241+
and is incremented by one for each value emitted. Note that if the supplied
242+
interval is less than one millisecond it will be changed to one millisecond
243+
and a warning will be emitted.
242244
243245
=head2 method grep
244246

0 commit comments

Comments
 (0)