1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-10 10:00:49 +09:00
any-sync/commonspace/syncstatus/syncstatus.go
2024-07-16 14:44:27 +02:00

15 lines
324 B
Go

package syncstatus
import (
"github.com/anyproto/any-sync/app"
)
const CName = "common.commonspace.syncstatus"
type StatusUpdater interface {
app.ComponentRunnable
HeadsChange(treeId string, heads []string)
HeadsReceive(senderId, treeId string, heads []string)
HeadsApply(senderId, treeId string, heads []string)
}