prysm-pulse/beacon-chain/core/statefeed/notifier.go
Jim McDonald 49c2dd2cfc Move the state notifier to a different module (#4058)
* Move state notifier to statefeed

* Updates to state notifier

* Create state feed in beacon node

* Formatting
2019-11-19 16:15:48 -06:00

9 lines
225 B
Go

package statefeed
import "github.com/prysmaticlabs/prysm/shared/event"
// Notifier interface defines the methods of the service that provides state updates to consumers.
type Notifier interface {
StateFeed() *event.Feed
}