mirror of git://git.qorg11.net/kill9.git
I hate markdown
This commit is contained in:
parent
5c8de859bd
commit
6fed827240
|
@ -121,10 +121,11 @@ await Supply.from-list(<A B C D E F>).throttle: 2, {
|
||||||
.print
|
.print
|
||||||
}
|
}
|
||||||
|
|
||||||
#OUTPUT: ABCDhiEF
|
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
|
||||||
|
Output is "ABCDhiEF"
|
||||||
|
|
||||||
the `start` block is called asyncronously, so it sleeps 1.5 seconds
|
the `start` block is called asyncronously, so it sleeps 1.5 seconds
|
||||||
and then prints "hi" while the other part prints 2 letters every 0.5
|
and then prints "hi" while the other part prints 2 letters every 0.5
|
||||||
seconds. so after printing ABCD, 1.5 seconds have passed, so it will
|
seconds. so after printing ABCD, 1.5 seconds have passed, so it will
|
||||||
|
|
Loading…
Reference in New Issue