// ets_tracing: off
import * as T from "../../../../Effect";
import * as O from "../../../../Option";
import * as FromEffectOption from "./fromEffectOption";
/**
 * Creates a stream from an effect producing a value of type `A`
 */

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