iterx

package
v0.0.0-...-83ed0a1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2025 License: MIT, Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fanout

func Fanout[K any, V any](seq iter.Seq2[K, V], fn func(key K, value V))

Fanout processes a sequence using a worker pool.

func FanoutErr

func FanoutErr[K any, V any](seq iter.Seq2[K, V], fn func(key K, value V) error) error

FanoutErr processes a sequence using a worker pool, returning an aggregate error.

func For

func For[K any, V any](seq iter.Seq2[K, V], fn func(key K, value V))

For processes a sequence with the given function.

func ForErr

func ForErr[K any, V any](seq iter.Seq2[K, V], fn func(key K, value V) error) error

ForErr processes a sequence with the given function.

Types

This section is empty.

Jump to

Keyboard shortcuts

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