github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/tm2/pkg/events/store.go (about) 1 package events 2 3 // StoreStream stores events to disk but is also listenaable. 4 type StoreStream interface { 5 Eventable 6 SetHeight(height int64) // to demarcate height in WAL for replay. 7 } 8 9 // ---------------------------------------- 10 // move to own file 11 12 // FilterStream is listenable and lets you filter. 13 type FilterStream interface { 14 Eventable 15 }