Skip to content
Discussion options

You must be logged in to vote

Looks like I need to work around this myself. For the sake of others that might some day trip into this API design, I've created a tiny Go module named wye as in "Y": it "mixes" a typically shorter-lived (service) context into a long-living context, such as podman's "connection" context. It basically acts as a "Y" joint for Go contexts with respect to deadlines/timeouts and cancellations; the opposite of Go's common "⅄" context-deriving pattern.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by thediveo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant