Versions in this module Expand all Collapse all v0 v0.4.0 Aug 7, 2026 Changes in this version + func FlatMap[T any, R any](ctx context.Context, items []T, fn FlatMapFunc[T, R], opts ...Option) ([]R, error) + type FlatMapFunc func(context.Context, int, T) ([]R, error) v0.3.1 Jul 30, 2026 v0.3.0 Jul 29, 2026 Changes in this version + func Reduce[T any](ctx context.Context, items []T, initial T, fn ReduceFunc[T], opts ...Option) (T, error) + type ReduceFunc func(ctx context.Context, accumulator T, value T) (T, error) v0.2.0 Jul 28, 2026 Changes in this version + func Filter[T any](ctx context.Context, items []T, fn FilterFunc[T], opts ...Option) ([]T, error) + type FilterFunc func(ctx context.Context, idx int, value T) (bool, error) v0.1.0 Jul 28, 2026 Changes in this version + func Map[T any, R any](ctx context.Context, items []T, fn MapFunc[T, R], opts ...Option) ([]R, error) + type MapFunc func(context.Context, int, T) (R, error) + type Option func(*config) + func WithWorkers(n int) Option