Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
 - func New(ctx context.Context, interval time.Duration, ...) *repeater
 - func WithClock(clock clockwork.Clock) option
 - func WithEvent(ctx context.Context, event Event) context.Context
 - func WithInterval(interval time.Duration) option
 - func WithName(name string) option
 - func WithTrace(trace *trace.Driver) option
 - type Event
 - type Repeater
 
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func New ¶ added in v3.11.13
func New( ctx context.Context, interval time.Duration, task func(ctx context.Context) (err error), opts ...option, ) *repeater
New creates and begins to execute task periodically.
func WithInterval ¶ added in v3.11.13
Types ¶
 Click to show internal directories. 
   Click to hide internal directories.