WithDuration is a duration option
(d time.Duration)
| 25 | |
| 26 | // WithDuration is a duration option |
| 27 | func WithDuration(d time.Duration) Duration { |
| 28 | return &duration{ |
| 29 | d: d, |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | var tick = struct{}{} |
| 34 |
no outgoing calls
searching dependent graphs…