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 15957e1 commit a87a9b0Copy full SHA for a87a9b0
doc/Type/Supply.pod
@@ -330,6 +330,18 @@ Creates a new supply in which changes to the number of values seen are
330
emitted. It optionally also takes an interval (in seconds) if you only want
331
to be updated every so many seconds.
332
333
+=head2 method head
334
+
335
+ method head(Supply:D: Int(Cool) $number = 1) returns Supply:D
336
337
+Creates a "head" supply with the same semantics as List.head.
338
339
+=head2 method tail
340
341
+ method tail(Supply:D: Int(Cool) $number = 1) returns Supply:D
342
343
+Creates a "tail" supply with the same semantics as List.tail.
344
345
=head2 method rotor
346
347
method rotor(Supply:D: @cycle) returns Supply:D
0 commit comments