Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetDefault ¶
func SetDefault(t *T)
func SetMaxRunning ¶
func SetMaxRunning(n int)
Types ¶
type T ¶
type T struct {
// contains filtered or unexported fields
}
func New ¶
func New(subQS pubsub.QueueSizer) *T
func NewDefault ¶
func NewDefault(subQS pubsub.QueueSizer) *T
func (*T) Enqueue ¶
Enqueue queues f, the action label names in the logs, to run when one of the max running slots is free, by priority.
func (*T) Run ¶
Run runs f, the action label names in the logs, when one of the max running slots is free, by priority, and returns its error.
func (*T) SetInterval ¶
func (*T) SetMaxRunning ¶
Click to show internal directories.
Click to hide internal directories.