timer

package
v1.6.0 Latest Latest
Warning

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

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

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

func CallLater

func CallLater(seconds int, callback func(args []any), args ...any) *Timer

func (*Timer) Cancel

func (timer *Timer) Cancel() error

func (*Timer) IsCanceled

func (timer *Timer) IsCanceled() bool

func (*Timer) IsFinished

func (timer *Timer) IsFinished() bool

Jump to

Keyboard shortcuts

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