eventloop

package
v0.24.1-patch1 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: Apache-2.0 Imports: 2 Imported by: 16

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