Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultPoolCapacity = 10 DefaultExpiredDuration = time.Second )
Variables ¶
Functions ¶
Types ¶
type Option ¶
type Option func(o *Options)
func WithMaxBlockingTasks ¶
func WithNonBlocking ¶
func WithNonBlocking() Option
type Options ¶
func NewOptions ¶
func NewOptions() *Options
Click to show internal directories.
Click to hide internal directories.