package
7.17.28
Repository: https://github.com/elastic/beats.git
Documentation: pkg.go.dev

# Packages

Package timerqueue implements lets you defer execution of functions to a later time using an efficient implementation based upon a priority queue and a single timer.

# Functions

NewWithLocation creates a new Scheduler using the given runAt zone.

# Variables

ErrAlreadyStopped is returned when an Add operation is attempted after the scheduler has already stopped.
ErrInvalidTransition is returned from start/stop when making an invalid state transition, say from preRunning to stopped.

# Structs

Scheduler represents our async timer based scheduler.

# Interfaces

Schedule defines an interface for getting the next scheduled runtime for a job.

# Type aliases

TaskFunc represents a single task in a job.