workerpoolx

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package workerpoolx gammazero/workerpool可以无限制地提交任务,提供了更便利的Submit和SubmitWait方法提交任务, 还可以提供当前的worker数和任务数以及关闭Pool的功能。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gopher

type Gopher struct {
	Pool *workerpool.WorkerPool
}

func (Gopher) Go

func (g Gopher) Go(f func()) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL