Documentation
¶
Overview ¶
Package concurrentloop provides a function to call a function concurrently powered by generics, channels, and goroutines.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConcurrentProcessing ¶
func ConcurrentProcessing[T any, Result any](sl []T, cF ConcurrentFunc[T, Result]) ([]Result, []error)
ConcurrentProcessing calls the `ConcurrentFunc` concurrently, and returns its results.
Types ¶
type ConcurrentFunc ¶
ConcurrentFunc is the function to be called concurrently.
Click to show internal directories.
Click to hide internal directories.