4 ms·
I find it interesting that one of the reasons GO refuses to provide a way of identifying a routine's unique context is to prevent abusing that as a way of havin
by mjevans 9y ago
I find it interesting that one of the reasons GO refuses to provide a way of identifying a routine's unique context is to prevent abusing that as a way of having a session key attached to it... and then the standard libraries go and make a ctx variable to do EXACTLY that.
I think a solution would probably relate to looking at client connections.
- ithkuil 9y agowell, the ctx can be passed between goroutines and still give the ability to cancel the logical operation, no matter in which goroutine it happens to live