task

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: MIT Imports: 0 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SliceHandler added in v1.2.0

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

func New

func New(f *int) *SliceHandler

func (*SliceHandler) Add added in v1.2.0

func (s *SliceHandler) Add(f func(), delay int)

func (*SliceHandler) Run added in v1.2.0

func (s *SliceHandler) Run()

type Tasker

type Tasker interface {
	Add(f func(), delay int)
}

Jump to

Keyboard shortcuts

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