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.Request, callback job.Request, bc *core.BlockChain, pq *queue.JobPriorityQueue, jc *cache.JobCache) (*Chord, error)
NewChord returns chord
func (Chord) GetCallback ¶
GetCallback returns callback exec
func (Chord) GetCancelChan ¶
func (c Chord) GetCancelChan() chan struct{}
GetCancelChan returns cancel channel
Click to show internal directories.
Click to hide internal directories.