task

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultTicker added in v1.6.0

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

DefaultTicker is an implementation of ticker which simply delegates to time.Ticker.

func NewDefaultTicker added in v1.6.0

func NewDefaultTicker(period time.Duration) *DefaultTicker

type StopFn

type StopFn func()

func RunTaskRepeateadly

func RunTaskRepeateadly(task func(), t ticker) StopFn

Jump to

Keyboard shortcuts

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