Cons Contexts together as a pair
Constext allows you to cons Contexts together as a pair, conjoining them for the purpose of all Context behaviors: – If either parent context is canceled, the constext is canceled. The err is set to whatever the err of the parent that was canceled. – If either parent has a deadline, the constext uses that same deadline. If both have a deadline, it uses the sooner/lesser one. – Values from both parents are unioned together. When a key is present in both parent trees, the left (first) context supercedes the right (second). Paired contexts can be recombined using the standard context.With*() functions. This package contains the source code needed for building packages that reference the following Go import paths: – github.com/sdboyer/constext
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 0-0.10.20180316git836a144.fc35 | - |
Fedora 35 | 0-0.10.20180316git836a144.fc35 | - |
Fedora 34 | 0-0.9.20180316git836a144.fc34 | - |
You can contact the maintainers of this package via email at
golang-github-sdboyer-constext dash maintainers at fedoraproject dot org
.