import * as tsplus_module_1 from "@effect/core/stream/Channel/operations/write";
import * as tsplus_module_2 from "@effect/core/stream/Channel/operations/zipRight";
import { concreteStream, StreamInternal } from "@effect/core/stream/Stream/operations/_internal/StreamInternal";
/**
 * Emits the provided chunk before emitting any other value.
 *
 * @tsplus fluent ets/Stream prepend
 */

export function prepend_(stream, values, __tsplusTrace) {
  void 0;
  return new StreamInternal(tsplus_module_2.zipRight_(tsplus_module_1.write(values), () => stream.channel));
}
/**
 * Emits the provided chunk before emitting any other value.
 *
 * @tsplus static ets/Stream/Aspects prepend
 */

export const prepend = (values, __tsplusTrace) => stream => prepend_(stream, values, __tsplusTrace);
//# sourceMappingURL=prepend.mjs.map