@@ -52,13 +52,13 @@ func Async0(f func()) <-chan struct{} {
5252}
5353
5454// Async1 is an alias to Async.
55- // Play: https://go.dev/play/p/uo35gosuTLw
55+ // Play: https://go.dev/play/p/RBQWtIn4PsF
5656func Async1 [A any ](f func () A ) <- chan A {
5757 return Async (f )
5858}
5959
6060// Async2 has the same behavior as Async, but returns the 2 results as a tuple inside the channel.
61- // Play: https://go.dev/play/p/7W7mKQi0AhA
61+ // Play: https://go.dev/play/p/5SzzDjssXOH
6262func Async2 [A , B any ](f func () (A , B )) <- chan Tuple2 [A , B ] {
6363 ch := make (chan Tuple2 [A , B ], 1 )
6464 go func () {
@@ -68,7 +68,7 @@ func Async2[A, B any](f func() (A, B)) <-chan Tuple2[A, B] {
6868}
6969
7070// Async3 has the same behavior as Async, but returns the 3 results as a tuple inside the channel.
71- // Play: https://go.dev/play/p/L1d6o6l6q0d
71+ // Play: https://go.dev/play/p/cZpZsDXNmlx
7272func Async3 [A , B , C any ](f func () (A , B , C )) <- chan Tuple3 [A , B , C ] {
7373 ch := make (chan Tuple3 [A , B , C ], 1 )
7474 go func () {
@@ -78,7 +78,7 @@ func Async3[A, B, C any](f func() (A, B, C)) <-chan Tuple3[A, B, C] {
7878}
7979
8080// Async4 has the same behavior as Async, but returns the 4 results as a tuple inside the channel.
81- // Play: https://go.dev/play/p/1X7q6oL0TqF
81+ // Play: https://go.dev/play/p/9X5O2VrLzkR
8282func Async4 [A , B , C , D any ](f func () (A , B , C , D )) <- chan Tuple4 [A , B , C , D ] {
8383 ch := make (chan Tuple4 [A , B , C , D ], 1 )
8484 go func () {
@@ -88,7 +88,7 @@ func Async4[A, B, C, D any](f func() (A, B, C, D)) <-chan Tuple4[A, B, C, D] {
8888}
8989
9090// Async5 has the same behavior as Async, but returns the 5 results as a tuple inside the channel.
91- // Play: https://go.dev/play/p/2W7q4oL1TqG
91+ // Play: https://go.dev/play/p/MqnUJpkmopA
9292func Async5 [A , B , C , D , E any ](f func () (A , B , C , D , E )) <- chan Tuple5 [A , B , C , D , E ] {
9393 ch := make (chan Tuple5 [A , B , C , D , E ], 1 )
9494 go func () {
@@ -98,7 +98,7 @@ func Async5[A, B, C, D, E any](f func() (A, B, C, D, E)) <-chan Tuple5[A, B, C,
9898}
9999
100100// Async6 has the same behavior as Async, but returns the 6 results as a tuple inside the channel.
101- // Play: https://go.dev/play/p/3X8q5pM2UrH
101+ // Play: https://go.dev/play/p/kM1X67JPdSP
102102func Async6 [A , B , C , D , E , F any ](f func () (A , B , C , D , E , F )) <- chan Tuple6 [A , B , C , D , E , F ] {
103103 ch := make (chan Tuple6 [A , B , C , D , E , F ], 1 )
104104 go func () {
0 commit comments