1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-08 05:57:03 +09:00
any-sync/commonspace/object/syncobjectgetter/syncobjectgetter.go
2024-06-15 14:46:38 +02:00

16 lines
285 B
Go

package syncobjectgetter
import (
"context"
"github.com/anyproto/any-sync/commonspace/sync/syncdeps"
)
type SyncObject interface {
Id() string
syncdeps.ObjectSyncHandler
}
type SyncObjectGetter interface {
GetObject(ctx context.Context, objectId string) (SyncObject, error)
}