3 ms·
The Go way is to pass the long running goroutines a different ctx from the short running. Or even one ctx per goroutine and cancel them dynamically according t
by dagss 3y ago
The Go way is to pass the long running goroutines a different ctx from the short running.
Or even one ctx per goroutine and cancel them dynamically according to whatever logic.