import { get, init } from "./schedule.js";
function delayFunction(e, r) {
	return function() {
		init(this, e).delay = +r.apply(this, arguments);
	};
}
function delayConstant(e, r) {
	return r = +r, function() {
		init(this, e).delay = r;
	};
}
function delay_default(n) {
	var i = this._id;
	return arguments.length ? this.each((typeof n == "function" ? delayFunction : delayConstant)(i, n)) : get(this.node(), i).delay;
}
export { delay_default as default };
