ticker

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 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 Option

type Option func(t *Ticker)

func WithImmediatelyOnce

func WithImmediatelyOnce(immediatelyOnce bool) Option

type Ticker

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

func NewTicker

func NewTicker(ctx context.Context, f func(), duration time.Duration, opts ...Option) *Ticker

func (*Ticker) Exec

func (t *Ticker) Exec()

Jump to

Keyboard shortcuts

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