What canceled my Go context?
rednafi.com
What canceled my Go context?
1–10 of 70 posts
Re: What canceled my Go context?
#2Is there any equivalent in major popular languages like Python, Java, or JS of this?
Re: What canceled my Go context?
#3Context cancellation (and it's propagation) is one of the best features in Go. Is there any equivalent in major popular languages like Python, Java, or JS of this?
There's a stop_token in some Microsoft C++ library but it's not nearly as convenient to interrupt a blocking operation with it.
Re: What canceled my Go context?
#4Context cancellation (and it's propagation) is one of the best features in Go. Is there any equivalent in major popular languages like Python, Java, or JS of this?
Re: What canceled my Go context?
#5Context cancellation (and it's propagation) is one of the best features in Go. Is there any equivalent in major popular languages like Python, Java, or JS of this?
https://github.com/ggoodman/context provides nice helpers that brings the DX a bit closer to Go.
Re: What canceled my Go context?
#6Context cancellation (and it's propagation) is one of the best features in Go. Is there any equivalent in major popular languages like Python, Java, or JS of this?
Re: What canceled my Go context?
#7Context cancellation (and it's propagation) is one of the best features in Go. Is there any equivalent in major popular languages like Python, Java, or JS of this?
Re: What canceled my Go context?
#8Context cancellation (and it's propagation) is one of the best features in Go. Is there any equivalent in major popular languages like Python, Java, or JS of this?
(I also think there's some wonkiness with and barriers to understanding Python's implementation that I don't think plagues Go to quite the same extent.)
Re: What canceled my Go context?
#9Context cancellation (and it's propagation) is one of the best features in Go. Is there any equivalent in major popular languages like Python, Java, or JS of this?
Re: What canceled my Go context?
#10Context cancellation (and it's propagation) is one of the best features in Go. Is there any equivalent in major popular languages like Python, Java, or JS of this?