ectoparallel

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Filter

func Filter[T any](slice []T, fn func(T) bool) []T

Filter removes all elements from an array that satisfy the predicate in parallel items: The array to filter predicate: The predicate to test each element against

func ForEach

func ForEach[T any](slice []T, fn func(T))

ForEach executes an action for each element in the array in parallel items: The array to iterate action: The action to perform on each element

func Map

func Map[T any, U any](slice []T, fn func(T) U) []U

Map projects each element of an array into a new form in parallel items: The array to map selector: The selector function to use

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL