Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Goroutines pool

Build Status

Managing gouroutines pool

Example

    // Create iterable (slice, array)
	slice := []int{1,2,3,4,5}
	// Create goroutines pool
	p := New(5)
	// Run function f on each element of the slice
	p.Map(f, slice)
	// Get each function result  as a slice
	result := p.Join()

About

Simple goroutine pool

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages