WithMaxRetry set max retry
(n int)
| 72 | |
| 73 | // WithMaxRetry set max retry |
| 74 | func WithMaxRetry(n int) Option { |
| 75 | return OptionFunc(func(q *options) { |
| 76 | q.maxRetry = n |
| 77 | }) |
| 78 | } |
| 79 | |
| 80 | // WithResumeTaskType set resume Task type |
| 81 | func WithResumeTaskType(types ...string) Option { |
no test coverage detected