/** * Executes this effect and returns its value, if it succeeds, but * otherwise succeeds with the specified value. * * @tsplus static effect/core/io/Effect.Aspects orElseSucceed * @tsplus pipeable effect/core/io/Effect orElseSucceed */ export function orElseSucceed(a: LazyArg) { return (self: Effect): Effect => self.orElse(Effect.sync(a)) }