slok / goresilience

A library to improve the resilience of Go applications in an easy and flexible way
https://medium.com/@slok/goresilience-a-go-library-to-improve-applications-resiliency-14d229aee385
Apache License 2.0
179 stars 24 forks source link

Add context argument to Concurrencylimits executors #24

Closed slok closed 5 years ago

slok commented 5 years ago

In order to have some context inside the executors for future changes, we pass the flow standarized argument ctx context.Context.

This makes a signature change on Executor interface so is a breaking change.