work_process

package
v0.1.3-testnet Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WorkProcess

type WorkProcess[T any] struct {
	*queue.Queue[T]
	Name string
	// contains filtered or unexported fields
}

func New

func New[T any](env environment, name string, consumer func(inp T)) *WorkProcess[T]

func (*WorkProcess[T]) Start

func (wp *WorkProcess[T]) Start()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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