parallelwalk

package
v1.0.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewParallelWalk

func NewParallelWalk[Job, State any](concurrency int) jobwalker.JobWalker[Job, State]

NewParallelWalk generates a function to handle a series of jobs that may spawn more jobs It will execute jobs in parallel, with the specified concurrency until all initial jobs and all spawned jobs (recursively) are handled, or a job errors This code is adapted from https://github.com/ipfs/go-merkledag/blob/master/merkledag.go#L464C6-L584

Types

This section is empty.

Jump to

Keyboard shortcuts

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