package
0.0.11
Repository: https://github.com/grailbio/base.git
Documentation: pkg.go.dev

# Functions

CPU calls the function fn for each available system CPU.
Each performs concurrent traversal over n elements.
Limit returns a traverser with limit n.
LimitSequential returns a sequential traverser with limit n.
NewSimpleReporter returns a new reporter that prints the number of queued, running, and completed tasks to stderr.
NewTimeEstimateReporter returns a reporter that reports the number of jobs queued, running, and done, as well as the running time of the Traverse and an estimate for the amount of time remaining.

# Variables

Parallel is the default traverser for parallel traversal, intended CPU-intensive parallel computing.

# Structs

A T is a traverser: it provides facilities for concurrently invoking functions that traverse collections of data.

# Interfaces

A Reporter receives events from an ongoing traversal.