Documentation
¶
Index ¶
- func Map[T any, R any](items []T, fn func(T) R) []R
- func MapCtx[T any, R any](parent ctxpkg.Handle, items []T, fn func(ctxpkg.Handle, T) (R, error)) ([]R, error)
- func MapE[T any, R any](items []T, fn func(T) (R, error)) ([]R, error)
- func MapEWithLimit[T any, R any](items []T, limit int, fn func(T) (R, error)) ([]R, error)
- func MapWithLimit[T any, R any](items []T, limit int, fn func(T) R) []R
- func Parallel(tasks ...func())
- func ParallelCtx(parent ctxpkg.Handle, tasks ...func(ctxpkg.Handle) error) error
- func ParallelE(tasks ...func() error) error
- func ParallelWithLimit(limit int, tasks ...func())
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapEWithLimit ¶ added in v0.5.0
func MapWithLimit ¶
func ParallelCtx ¶ added in v0.5.0
func ParallelWithLimit ¶
func ParallelWithLimit(limit int, tasks ...func())
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.