oticker

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ticker

func Ticker(interval time.Duration, function func())

Ticker execute functions in the interval time cycle

func TickerAdvance

func TickerAdvance(interval time.Duration, function func())

TickerAdvance execute once before and execute functions in the interval time cycle

func TickerAdvanceCtx

func TickerAdvanceCtx(ctx context.Context, interval time.Duration, function func())

TickerAdvanceCtx execute functions in the interval time cycle

func TickerCtx

func TickerCtx(ctx context.Context, interval time.Duration, function func())

TickerCtx execute functions in the interval time cycle

Types

This section is empty.

Jump to

Keyboard shortcuts

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