import * as tsplus_module_1 from "@effect/core/stream/Stream/operations/repeatEffectChunkMaybe";
import * as tsplus_module_2 from "@effect/core/io/Effect/operations/map";
import * as tsplus_module_3 from "@effect/core/stream/Stream/operations/unwrapScoped";
/**
 * @tsplus static ets/Stream/Ops fromPull
 */

export function fromPull(effect, __tsplusTrace) {
  return tsplus_module_3.unwrapScoped(() => tsplus_module_2.map_(effect(), pull => tsplus_module_1.repeatEffectChunkMaybe(() => pull, __tsplusTrace), __tsplusTrace), __tsplusTrace);
}
//# sourceMappingURL=fromPull.mjs.map