An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 2.9% dependent repos on proxy.golang.org

proxy.golang.org : github.com/devfans/cogroup

Package cogroup provides a elegant goroutine group with context controls. It's designed to meet the following requirements. - Tasks can be executed without order - Group `wait` command will close the write acces to the task queue - Upstream context can cancel the task queue - When the context is canceled, the tasks in queue will be no longer consumed - Panic recover for a single task execution - Only spawn specified number of goroutines to consume the task - `Wait` will block until tasks are finished or canceled, and return with the queue length

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/devfans/cogroup
License: GPL-3.0
Latest release: over 2 years ago
First release: over 4 years ago
Namespace: github.com/devfans
Dependent repositories: 3
Stars: 4 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 14 days ago

    Loading...
    Readme
    Loading...