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

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/NebulousLabs/threadgroup

Package threadgroup provides a utility for performing organized clean shutdown and quick shutdown of long running groups of threads, such as networking threads, background threads, or resources like databases. The OnStop and AfterStop functions are helpers which enable shutdown code to be inlined with resource allocation, similar to defer. The difference is that `OnStop` and `AfterStop` will be called following tg.Stop, instead of when the parent function goes out of scope.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/%21nebulous%21labs/threadgroup
License: MIT
Latest release: about 8 years ago
First release: about 8 years ago
Namespace: github.com/NebulousLabs
Stars: 1 on GitHub
Forks: 6 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 3 months ago

    Loading...
    Readme
    Loading...