2 ms·
It does, but feels extremely bolted on(because it was). To do properly , near every single function and method has to take a context, which gets repetitive. T
by silisili 3y ago
It does, but feels extremely bolted on(because it was). To do properly , near every single function and method has to take a context, which gets repetitive. Then every single thing in the call stack needs to actually check for cancellation.
It feels like something similar should be baked in, and inherited from its parent by default(but overrideable). And a cancel would cancel the callstack. Would be nice to make this cleaner in go 2, I think.