1import * as WDG from 'WDG' 2 3export function start(timeout) { 4 if (!timeout) { 5 throw new Error('params is invalid'); 6 } 7 WDG.start(timeout); 8} 9 10export function feed() { 11 WDG.feed(); 12} 13 14export function stop() { 15 WDG.stop(); 16} 17