Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chord ¶
type Chord struct {
// contains filtered or unexported fields
}
Chord Jobs executed one after the other and the results passed to a callback
func NewChord ¶
func NewChord(j []job.JobRequestMultiple, callback job.JobRequestMultiple, bc *core.BlockChain, pq *queue.JobPriorityQueue, jc *cache.JobCache) (*Chord, error)
NewChord returns chord
func (Chord) GetCallback ¶
func (c Chord) GetCallback() job.JobRequestMultiple
func (Chord) GetCancelChan ¶
func (c Chord) GetCancelChan() chan struct{}
Click to show internal directories.
Click to hide internal directories.