package
Version:
v0.10.1
Opens a new window with list of versions in this module.
Published: Jun 1, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func WaitAll(total int) func(yield func(i int) bool)
WaitAll Wrap sync.WaitGroup
note that you should not break the loop func
func WaitAllWithLimitG(total int, limit int) func(yield func(i int) bool)
WaitAllWithLimitG is similar to WaitAll but also limits the number of active goroutines in this group to at most limit.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.