Merge pull request #3 from openrelayxyz/feature/isSynced-improvement

Feature/is synced improvement
This commit is contained in:
philip-morlier
2021-10-08 14:05:36 -07:00
committed by GitHub
+5 -1
View File
@@ -141,6 +141,11 @@ type Node interface {
HTTPEndpoint() string
WSEndpoint() string
ResolvePath(x string) string
Attach() (Client, error)
}
type Client interface {
Call(interface{}, string, ...interface{}) error
}
type Server interface {
@@ -161,7 +166,6 @@ type PluginLoader interface {
GetFeed() Feed
}
type Subscription interface {
Err() <-chan error // returns the error channel
Unsubscribe() // cancels sending of events, closing the error channel