Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner contains cached information about markets.
func New ¶
func New(ds datastore.TxnDatastore, clientBuilder lotus.ClientBuilder) (*Runner, error)
New returns a new ask index runner. It load a persisted ask index, and immediately starts building a new fresh one.
func (*Runner) Listen ¶
func (ai *Runner) Listen() <-chan struct{}
Listen returns a new channel signaler that notifies when the index gets updated.
func (*Runner) Unregister ¶
func (ai *Runner) Unregister(c chan struct{})
Unregister unregisters a channel signaler from the signaler hub.
Click to show internal directories.
Click to hide internal directories.