package
0.11.0
Repository: https://github.com/omni-network/omni.git
Documentation: pkg.go.dev

# Functions

New returns fork, join, and cancel functions with generic input type I and output type O.
NewWithInputs is a convenience function that calls New and then forks all the inputs returning the join result and a cancel function.
WithInputBuffer returns an option configuring a forkjoin with an input buffer of length i overriding the default of 100.
WithoutFailFast returns an option configuring a forkjoin to not stop execution on any error.
WithWaitOnCancel returns an option configuring a forkjoin to wait for all workers to return when canceling.
WithWorkers returns an option configuring a forkjoin with w number of workers.

# Structs

Result contains the input and resulting output from the work function.

# Type aliases

Fork function enqueues the input to be processed asynchronously.
Join function closes the input queue and returns the result channel.
No description provided by the author
Work defines the work function signature workers will call.