package
Version:
v0.0.0-...-6b3b694
Opens a new window with list of versions in this module.
Published: Oct 12, 2023
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func Errable(fn func() error) <-chan error
-
func FlatMap[T any, D any](src []T, concurrencyLimit int, f func(T) ([]D, error)) ([]D, error)
-
func Map[T any, D any](src []T, concurrencyLimit int, f func(T) (D, error)) ([]D, error)
-
func WaitAll(chans ...<-chan error) error
-
type Errors
WaitAll waits for all the given errables to finish, and returns
the last error occurred in all errables, if any.
type Errors struct {
Errs []error
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.