zlacker

[parent] [thread] 1 comments
1. sapiog+(OP)[view] [source] 2024-01-23 15:13:42
Go's "red" is also "function may return an error"
replies(1): >>goldst+Zj
2. goldst+Zj[view] [source] 2024-01-23 16:34:00
>>sapiog+(OP)
Sure, but it’s a different effect. Go’s asynchronous “red” is either “accepts a cancellation context” or “accepts a output channel” (since goroutines can’t return values normally).
[go to top]