eventloop

package
v0.34.2 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventLoop

type EventLoop interface {
	Run(namespaces []string, opts clients.WatchOpts) (<-chan error, error)
	// Ready returns a channel that will be closed after the first loop iteration is completed successfully.
	Ready() <-chan struct{}
}

common interface for event loops

type SimpleEventLoop

type SimpleEventLoop interface {
	Run(ctx context.Context) (<-chan error, error)
}

Jump to

Keyboard shortcuts

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