3 ms·
any plans to add context support ?
by qaq 2y ago
any plans to add context support ?
- destel 2y agoI've just pushed few small changes to the readme that better explain context usage
- destel 2y agoI am thinking on it. To be honest, the current design works fine for my use cases: simply put, the function that defines a pipeline should have context.WithCancel() and defer cancel() calls. I need a feedback on this. What kind of builtin context support would work for you? Do you need something like errgroup's ability to automatically cancel the context on first error?