mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-08-02 14:12:47 +00:00
Don't panic
This commit is contained in:
parent
bcbe6512a4
commit
faa070bbc2
2 changed files with 12 additions and 1 deletions
11
syncapi/sync/provider.go
Normal file
11
syncapi/sync/provider.go
Normal file
|
@ -0,0 +1,11 @@
|
|||
package sync
|
||||
|
||||
import "github.com/matrix-org/dendrite/syncapi/types"
|
||||
|
||||
type SyncProvider interface {
|
||||
WaitFor()
|
||||
}
|
||||
|
||||
type SyncStream interface {
|
||||
GetLatestPosition() types.StreamPosition
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue