feat: observe changes in repository to automatically clear cache
All checks were successful
Cadoles/bouncer/pipeline/pr-master This commit looks good

This commit is contained in:
2025-08-13 18:20:58 +02:00
parent ad4f334bc2
commit 80a1b48966
8 changed files with 229 additions and 4 deletions

View File

@ -0,0 +1,11 @@
package store
import "context"
type Change interface {
Change()
}
type Observable interface {
Changes(ctx context.Context, fn func(Change))
}