func (l MaxAttempts) New() Service {
	return &maxExponentialService{
		config: Exponential{
			Times:   l.Times,
			YOffset: l.WaitFor,
			Base:    0,
		},
	}
}
// New creates a new MaxAttempts. New is needed to create a counter state required for this invocation
New creates a new MaxAttempts. New is needed to create a counter state required for this invocation
// New creates a new MaxAttempts . New is needed to create a counter state required for this invocation
func (l MaxAttempts) New() Service {
	return &maxExponentialService{
		config: Exponential{
			Times:   l.Times,
			YOffset: l.WaitFor,
			Base:    0,
		},
	}
}
func ( l MaxAttempts ) New ( ) Service { return & maxExponentialService { config : Exponential { Times : l . Times , YOffset : l . WaitFor , Base : 0 , } , } }
New creates a new MaxAttempts.
New creates a new MaxAttempts .