concurrent

package
Version: v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Range

func Range(coll, fn interface{}) error

Range calls the function fn on all items in coll concurrently and waits for all calls to finish.

coll may be a slice or a map. If coll is a map, fn must accept the key and the value as its arguments, and otherwise it must accept an int index and the value as its arguments.

fn may return nothing or error.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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