Documentation
¶
Overview ¶
Package concurrently has helpers for writing concurrent code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Map ¶
func Map[In, Out any, InS ~[]In](ctx context.Context, in InS, f func(context.Context, int, In) (Out, error), opts ...Option) ([]Out, error)
Map transforms an input slice into an output slice via a function f. It calls f as concurrently as reasonably possible (up to GOMAXPROCS by default).
Types ¶
Click to show internal directories.
Click to hide internal directories.