()
| 12 | } |
| 13 | |
| 14 | func (e *Executor) releaseConcurrencyLimit() func() { |
| 15 | if e.concurrencySemaphore == nil { |
| 16 | return emptyFunc |
| 17 | } |
| 18 | |
| 19 | <-e.concurrencySemaphore |
| 20 | return func() { |
| 21 | e.concurrencySemaphore <- struct{}{} |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | func emptyFunc() {} |
no outgoing calls
no test coverage detected