ticker

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package ticker 时间段固定的定时器

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Tick added in v0.14.0

func Tick(d time.Duration, imm bool) schedulers.Scheduler

Tick 声明一个固定时间段的定时任务

imm 是否立即执行一次任务,如果为 true, 则会在第一次调用 Next 时返回当前时间。

Types

This section is empty.

Jump to

Keyboard shortcuts

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