import * as tsplus_module_1 from "@effect/core/stream/Channel/operations/suspend";
import { concreteStream, StreamInternal } from "@effect/core/stream/Stream/operations/_internal/StreamInternal";
/**
 * Returns a lazily constructed stream.
 *
 * @tsplus static ets/Stream/Ops suspend
 */

export function suspend(stream, __tsplusTrace) {
  return new StreamInternal(tsplus_module_1.suspend(() => {
    const stream0 = stream();
    void 0;
    return stream0.channel;
  }));
}
//# sourceMappingURL=suspend.mjs.map