Redowan Delowar personal blog

What canceled my Go context?

How Go 1.20's WithCancelCause and Go 1.21's WithTimeoutCause let you attach a reason to context cancellation, plus a gotcha with manual cancel and the stdlib pattern that covers every path.
Points
110
HN comments
66
Submissions
1
Cited by
0 commenters

Software EngineeringProgramming Languages2026

On Hacker News

SubmittedTitle on HNPointsComments
Mar 4, 2026What canceled my Go context? by mweibel11066

More from Redowan Delowar

All 7 posts →

Related posts from the same era