function setIntervalWithSignal(fn, ms, signal) {
  if (!signal.aborted) {
    const interval = setInterval(fn, ms);
    signal.addEventListener("abort", () => {
      clearInterval(interval);
    });
  }
}
export {
  setIntervalWithSignal
};
//# sourceMappingURL=set-interval-with-signal.js.map
