watch

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter[I any, O any] func(in I) (out O, err error)

type Watchable

type Watchable[T any] func(ctx context.Context, lastIndex uint64) (nextIndex uint64, value T, err error)

func Adapt

func Adapt[I any, O any](w Watchable[I], adapter Adapter[I, O]) Watchable[O]

Jump to

Keyboard shortcuts

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