Quick actions

cmd+k|ctrl+k

Navigation

Languages

Sleep Sort

Snippet info

Language

Raku

Visibility

public

Author

kaspik99

Created

2018-02-19T11:59:50Z

Updated

2018-02-19T11:59:50Z


my @data = 12, 4, 7, 5, 8, 1, 2;
await gather for @data -> $d {
    take start {
        sleep $d / 3;
        say $d;
    }
}

INFO