void feed()

Feeds the watchdog timer to indicate that the page is still responsive. If the watchdog is started without autofeed, this should be called on a regular interval to prevent the page from reloading.

Security

Trust Level Required: Low Trust

Return

Nothing returned

Examples


window.addEventListener("beforeunload", function() {
	KioWatchdog.stop();
});

KioWatchdog.start(10, 20, false);

// Note: This is not needed if autofeed = true
setInterval(function() {
	KioWatchdog.feed();
}, 1000);

Requirements

KioWare OS (Linux®) version 1.0 or greater.


Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.