MCPcopy
hub / github.com/robfig/cron / NewChain

Function NewChain

chain.go:20–22  ·  view source on GitHub ↗

NewChain returns a Chain consisting of the given JobWrappers.

(c ...JobWrapper)

Source from the content-addressed store, hash-verified

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

Callers 6

TestChainFunction · 0.85
TestChainRecoverFunction · 0.85
NewFunction · 0.85
WithChainFunction · 0.85

Calls

no outgoing calls

Tested by 4

TestChainFunction · 0.68
TestChainRecoverFunction · 0.68