Documentation
¶
Overview ¶
tools/async/pool.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkerMetrics ¶
type WorkerMetrics struct { TasksProcessed uint64 ErrorCount uint64 ProcessingTime time.Duration IdleTime time.Duration }
WorkerMetrics 工作者指标
type WorkerPool ¶
type WorkerPool struct {
// contains filtered or unexported fields
}
WorkerPool 工作池
Click to show internal directories.
Click to hide internal directories.