Discover Packages
github.com/infrahq/infra
internal
timer
package
Version:
v0.3.2
Opens a new window with list of versions in this module.
Published: Oct 15, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
LogTimeElapsed logs the amount of time since this function was defered at the debug level
Start calls sync() every interval. if sync() runs long,
the next interval will not be started until it completes.
if intervals are missed they will be skipped, so sync() is
free to run as long as it needs to
Stop should be called only once. It waits for the sync function to exit before returning
Source Files
¶
Click to show internal directories.
Click to hide internal directories.