worker

package
v0.0.0-...-0fdf8e3 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Worker

type Worker interface {
	Run(ctx context.Context, f func(ctx context.Context) error)
	Wait() error
}

func NewWaitExecWorker

func NewWaitExecWorker(num int) Worker

func NewWorker

func NewWorker(num int) Worker

Jump to

Keyboard shortcuts

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