// ets_tracing: off
import { pipe } from "../../Function";
import * as O from "../../Option";
import * as T from "../_internal/effect";
import { fromEffectOption } from "./fromEffectOption";
/**
 * Creates a stream from an effect producing a value of type `A`
 */

export function fromEffect(fa) {
  return fromEffectOption(T.mapError_(fa, O.some));
}
//# sourceMappingURL=fromEffect.js.map