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

Top 6.8% on proxy.golang.org
Top 0.6% dependent packages on proxy.golang.org
Top 0.7% dependent repos on proxy.golang.org
Top 1.1% docker downloads on proxy.golang.org

proxy.golang.org : github.com/desertbit/closer/v3

Package closer offers a simple, thread-safe closer. It allows to build up a tree of closing relationships, where you typically start with a root closer that branches into different children and children's children. When a parent closer spawns a child closer, the child either has a one-way or two-way connection to its parent. One-way children are closed when their parent closes. In addition, two-way children also close their parent, if they are closed themselves. A closer is also useful to ensure that certain dependencies, such as network connections, are reliably taken down, once the closer closes. In addition, a closer can be concurrently closed many times, without closing more than once, but still returning the errors to every caller. This allows to represent complex closing relationships and helps avoiding leaking goroutines, gracefully shutting down, etc.

Registry - Source - Documentation - JSON - codemeta.json
purl: pkg:golang/github.com/desertbit/closer/v3
License: MIT
Latest release: 10 months ago
First release: about 3 years ago
Namespace: github.com/desertbit/closer
Dependent packages: 89
Dependent repositories: 68
Stars: 6 on GitHub
Forks: 0 on GitHub
Docker dependents: 3
Docker downloads: 1,591
See more repository details: repos.ecosyste.ms
Last synced: 10 days ago

    Loading...
    Readme
    Loading...