Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

simple example for supplies with intervals.

View gist:11154880
1 2 3 4 5 6 7 8 9 10 11 12 13
perl6-m -e 'Supply.merge(Supply.interval(2).map({ "tick" }), Supply.interval(2, 1).map({ "tock" })).tap(&say); sleep 10;'
tick
tock
tick
tock
tick
tock
tick
tock
tick
tock
tick
perl6-m -e 4,58s user 5,65s system 99% cpu 10,258 total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.