Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(w *Pool)
Option is a scheduler option.
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
Pool is a worker pool.
func (*Pool) RunWithArgs ¶
func (p *Pool) RunWithArgs(f func(args ...interface{}), args ...interface{})
func (*Pool) WaitAndRelease ¶
func (p *Pool) WaitAndRelease()
Click to show internal directories.
Click to hide internal directories.