rtimer

package module
v0.0.0-...-1907b39 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTimer

func NewTimer(timeout time.Duration) (timedOut <-chan bool, quits chan<- bool)

NewTimer closes returned channel on timeout. Use quit channel to exit timer without closing returned channel. Thread safe

func NewTimerRandomDelay

func NewTimerRandomDelay(timeout time.Duration) (timedOut <-chan bool, quits chan<- bool)

NewTimerRandomDelay closes returned channel on timeout. Use quit channel to exit timer without closing returned channel. Thread safe

Types

This section is empty.

Jump to

Keyboard shortcuts

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