Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Batch ¶
type Batch struct {
// contains filtered or unexported fields
}
Batch - jobs executed in parralel
func NewBatch ¶
func NewBatch(j []job.Request, bc *core.BlockChain, pq *queue.JobPriorityQueue, jc *cache.JobCache) (*Batch, error)
NewBatch returns batch
func (Batch) GetCancelChan ¶
func (b Batch) GetCancelChan() chan struct{}
GetCancelChan returns cancel channel
Click to show internal directories.
Click to hide internal directories.