Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AsyncJobQueue ¶
type AsyncJobQueue struct {
// contains filtered or unexported fields
}
AsyncJobQueue queues pending tasks.
func NewAsyncJobQueue ¶
func NewAsyncJobQueue() AsyncJobQueue
NewAsyncJobQueue creates a note-queue.
func (*AsyncJobQueue) ForEach ¶
func (q *AsyncJobQueue) ForEach() (err error)
ForEach iterates this queue and executes each note with a given func.
Click to show internal directories.
Click to hide internal directories.