ticker

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package ticker provides a sequence based on ticks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(interval time.Duration) iter.Seq[time.Time]

New creates an iterator backed by a ticker. Drops ticks for slow consumers, just as time.Ticker does.

Infinite iterator.

Types

This section is empty.

Jump to

Keyboard shortcuts

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