Files
bouncer/internal/store/observable.go
William Petit 80a1b48966
All checks were successful
Cadoles/bouncer/pipeline/pr-master This commit looks good
feat: observe changes in repository to automatically clear cache
2025-08-13 18:20:58 +02:00

12 lines
147 B
Go

package store
import "context"
type Change interface {
Change()
}
type Observable interface {
Changes(ctx context.Context, fn func(Change))
}