timeout

package
v1.14.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2025 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventTimeoutWatcher

type EventTimeoutWatcher struct {
	// contains filtered or unexported fields
}

EventTimeoutWatcher checks for event timesout

func NewEventTimeoutWatcher

func NewEventTimeoutWatcher(parentLogger logger.Logger, timeout time.Duration, processor Processor) (*EventTimeoutWatcher, error)

NewEventTimeoutWatcher returns a new watcher

type Processor

type Processor interface {

	// GetTriggers returns triggers
	GetTriggers() []trigger.Trigger

	// Stop stops the triggers
	Stop()
}

Processor is minimal processor interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL