mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-10 10:00:49 +09:00
15 lines
324 B
Go
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)
|
|
}
|