"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.forever = void 0;
// ets_tracing: off
const core_1 = require("./core");
/**
 * Repeats this effect forever (until the first error).
 */
function forever(effect, __trace) {
    return (0, core_1.chain_)(effect, () => forever(effect), __trace);
}
exports.forever = forever;
//# sourceMappingURL=forever.js.map