Discover Packages
github.com/awfulaxolotl/noms
go
util
orderedparallel
package
Version:
v0.0.0-...-160d89c
Opens a new window with list of versions in this module.
Published: Aug 2, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func New(input chan interface{}, fn ProcessFn , parallelism int ) chan interface{}
Creates a pool of |parallelism| goroutines to process values off of |input| by calling |fn| and guarentees that results of each call will be sent on |out| in the order the corresponding input was received.
type ProcessFn func(in interface{}) (out interface{})
Source Files
¶
Click to show internal directories.
Click to hide internal directories.