worker

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrTimeout = values.Errorf(0, "timeout")

Functions

This section is empty.

Types

type Handle

type Handle func(args any) error

type Worker

type Worker struct {
	// contains filtered or unexported fields
}

func New

func New() *Worker

func (*Worker) Call

func (this *Worker) Call(handle Handle, args any) error

func (*Worker) Start

func (this *Worker) Start(cap int)

Jump to

Keyboard shortcuts

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