mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 04:54:05 -05:00
* sse implementation that sheds stuck clients * Radek and James feedback * Refactor event streamer code for readability * less-flaky test signaling * test case where queue fills; fixes * add changelog entry * james and preston feedback * swap our Subscription interface with an alias * event.Data can be nil for the payload attr event * deepsource --------- Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
9 lines
234 B
Go
9 lines
234 B
Go
package state
|
|
|
|
import "github.com/prysmaticlabs/prysm/v5/async/event"
|
|
|
|
// Notifier interface defines the methods of the service that provides state updates to consumers.
|
|
type Notifier interface {
|
|
StateFeed() event.SubscriberSender
|
|
}
|