Documentation ¶
Index ¶
- func Recycle(job *Job)
- type Job
- type JobHandler
- type Option
- type Tickque
- func (tq *Tickque) AddBurstJob(hint int64, jobType string, jobData live.Data)
- func (tq *Tickque) AddJob(jobType string, jobData live.Data)
- func (tq *Tickque) NumPendingJobs() int
- func (tq *Tickque) Postpone(job *Job)
- func (tq *Tickque) Shutdown(ctx context.Context, jobHandler JobHandler) (int, error)
- func (tq *Tickque) Tick(maxJobs int, jobHandler JobHandler) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Job ¶
func (*Job) RetryNumber ¶
type JobHandler ¶
type Tickque ¶
func (*Tickque) AddBurstJob ¶
func (*Tickque) NumPendingJobs ¶
Click to show internal directories.
Click to hide internal directories.