package
Version:
v0.0.10
Opens a new window with list of versions in this module.
Published: Oct 10, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 3
Opens a new window with list of known importers.
Documentation
¶
func AddTask(task func())
AddTask 添加任务
func NewPool(opts ...Option) *defaultPool
type Option func(o *options)
WithDisablePurge 设置是否禁用清除
type Pool interface {
AddTask(task func()) error
Release()
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.