package
0.0.0-20210301081109-a173fca9e8fd
Repository: https://github.com/drep-project/drep-chain.git
Documentation: pkg.go.dev
# Functions
NewSubscription runs a producer function as a subscription in a new goroutine.
Resubscribe calls fn repeatedly to keep a subscription established.
# Constants
No description provided by the author
No description provided by the author
# Variables
ErrMuxClosed is returned when Posting on a closed TypeMux.
# Structs
Feed implements one-to-many subscriptions where the carrier of events is a channel.
SubscriptionScope provides a facility to unsubscribe multiple subscriptions at once.
No description provided by the author
A TypeMux dispatches events to registered receivers.
TypeMuxEvent is a time-tagged notification pushed to subscribers.
TypeMuxSubscription is a subscription established through TypeMux.
# Interfaces
Subscription represents a stream of events.
# Type aliases
No description provided by the author
A ResubscribeFunc attempts to establish a subscription.