// ets_tracing: off
import { succeedWith, suspend } from "./core";
import { effectAsyncInterrupt } from "./effectAsyncInterrupt";
/**
 * Returns a effect that will never produce anything. The moral equivalent of
 * `while(true) {}`, only without the wasted CPU cycles.
 */

export const never = /*#__PURE__*/suspend(() => effectAsyncInterrupt(() => {
  const interval = setInterval(() => {//
  }, 60000);
  return succeedWith(() => {
    clearInterval(interval);
  });
}));
//# sourceMappingURL=never.js.map