MCPcopy Create free account
hub / github.com/go-task/task / WithInterval

Function WithInterval

executor.go:516–518  ·  view source on GitHub ↗

WithInterval sets the interval at which the [Executor] will wait for duplicated events before running a task.

(interval time.Duration)

Source from the content-addressed store, hash-verified

514// WithInterval sets the interval at which the [Executor] will wait for
515// duplicated events before running a task.
516func WithInterval(interval time.Duration) ExecutorOption {
517 return &intervalOption{interval}
518}
519
520type intervalOption struct {
521 interval time.Duration

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…