WithInterval sets the interval at which the [Executor] will wait for duplicated events before running a task.
(interval time.Duration)
| 514 | // WithInterval sets the interval at which the [Executor] will wait for |
| 515 | // duplicated events before running a task. |
| 516 | func WithInterval(interval time.Duration) ExecutorOption { |
| 517 | return &intervalOption{interval} |
| 518 | } |
| 519 | |
| 520 | type intervalOption struct { |
| 521 | interval time.Duration |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…