Discover Packages
github.com/mt1976/frantic-core
timing
package
Version:
v1.2.60
Opens a new window with list of versions in this module.
Published: Mar 19, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 21
Opens a new window with list of known importers.
Documentation
Documentation
¶
Snooze snoozes for a random period
The Snooze function generates a random number between 0 and 10 and then calls the snooze function
func SnoozeFor(noSeconds int )
SnoozeFor snoozes the application for a given amount of time
The function SnoozeFor takes in a polling interval and calls the snooze function with that interval.
type Stopwatch struct {
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.