chaser

package
v0.0.0-...-05bc493 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChasingTimer

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

func NewChasingTimer

func NewChasingTimer(chasingDelay time.Duration) ChasingTimer

func (*ChasingTimer) Channel

func (c *ChasingTimer) Channel() <-chan time.Time

func (*ChasingTimer) ClearExpired

func (c *ChasingTimer) ClearExpired()

func (*ChasingTimer) IsEnabled

func (c *ChasingTimer) IsEnabled() bool

func (*ChasingTimer) RestartChase

func (c *ChasingTimer) RestartChase()

func (*ChasingTimer) WasStarted

func (c *ChasingTimer) WasStarted() bool

Jump to

Keyboard shortcuts

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