import { Timer } from "./timer.js";
function timeout_default(t, n, r) {
	var i = new Timer();
	return n = n == null ? 0 : +n, i.restart((e) => {
		i.stop(), t(e + n);
	}, n, r), i;
}
export { timeout_default as default };
