package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Mar 19, 2022
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type TaskFunc func() (hasMore bool, err error)
TaskFunc only task function can be added to
the timer.
type Timer interface {
AddTask(taskFunc TaskFunc)
Run()
Close()
}
Timer is for processing task. it checks buckets
for popping jobs. it will put ready jobs to queue.
New create a new timer for loading ready jobs from bucket
Source Files
¶
Click to show internal directories.
Click to hide internal directories.