WithInterval sets the interval between rollups.
(interval time.Duration)
| 37 | |
| 38 | // WithInterval sets the interval between rollups. |
| 39 | func WithInterval(interval time.Duration) Option { |
| 40 | return func(r *Rolluper) { |
| 41 | r.interval = interval |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | // WithEventChannel sets the event channel to use for rollup events. |
| 46 | // |
no outgoing calls