Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WatcherManager ¶
type WatcherManager[T1 any] interface { // start the generic watcher channel Start(ctx context.Context) Stop() WatchChan() chan watch.WatchEvent[T1] Add(ctx context.Context, callback Watcher[T1], opts ...store.ListOption) error // Del is handled with the isDone or callBackFn result }
func New ¶
func New[T1 any](maxWatchers int64) WatcherManager[T1]
Click to show internal directories.
Click to hide internal directories.