fpool

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteNTimes

func ExecuteNTimes[T any](ctx context.Context, n int, parallel int, failFast bool, fn func(context.Context, int) (T, error)) ([]T, error)

func ExecuteSlice

func ExecuteSlice[In any, Out any](ctx context.Context, in []In, parallel int, failFast bool, fn func(context.Context, In, int) (Out, error)) ([]Out, error)

ExecuteSlice maps a slice of inputs with concurrency, same semantics

Types

This section is empty.

Jump to

Keyboard shortcuts

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