Closed kamilsk closed 5 years ago
semaphore.Acquire(semaphore.Multiplex(semaphore.WithContext(req.Context()), semaphore.WithSignal(os.Interrupt)))
like as errgroup:
g, ctx := errgroup.WithContext(ctx)
https://github.com/golang/sync/tree/master/errgroup
won't do
like as errgroup:
https://github.com/golang/sync/tree/master/errgroup