NewChain returns a Chain consisting of the given JobWrappers.
(c ...JobWrapper)
| 18 | |
| 19 | // NewChain returns a Chain consisting of the given JobWrappers. |
| 20 | func NewChain(c ...JobWrapper) Chain { |
| 21 | return Chain{c} |
| 22 | } |
| 23 | |
| 24 | // Then decorates the given job with all JobWrappers in the chain. |
| 25 | // |
no outgoing calls