mirror of
https://github.com/VibedByKaKi/t3-code-android-nightly.git
synced 2026-10-13 22:07:44 +02:00
500 lines
29 KiB
YAML
500 lines
29 KiB
YAML
effect/Micro#all:
|
|
replacement: "Effect.all"
|
|
note: "Micro was removed in v4; use Effect.all with the same iterable-or-record input and concurrency/discard options."
|
|
effect/Micro#acquireUseRelease:
|
|
replacement: "Effect.acquireUseRelease"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#All.IsDiscard:
|
|
replacement: "Effect.All.IsDiscard"
|
|
note: "Type-level helper moved to the Effect.All namespace."
|
|
effect/Micro#All.MicroAny:
|
|
replacement: "Effect.All.EffectAny"
|
|
note: "Renamed: MicroAny becomes EffectAny in the Effect.All namespace."
|
|
effect/Micro#All.Return:
|
|
replacement: "Effect.All.Return"
|
|
note: "Type-level helper moved to the Effect.All namespace."
|
|
effect/Micro#as:
|
|
replacement: "Effect.as"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#asSome:
|
|
replacement: "Effect.asSome"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#asVoid:
|
|
replacement: "Effect.asVoid"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#async:
|
|
replacement: "Effect.callback"
|
|
note: "Renamed: the async constructor is Effect.callback in v4. Same resume/AbortSignal semantics."
|
|
example: "Effect.callback<number>((resume) => resume(Effect.succeed(1)))"
|
|
effect/Micro#bind:
|
|
replacement: "Effect.bind"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#bindTo:
|
|
replacement: "Effect.bindTo"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#catchAll:
|
|
replacement: "Effect.catch"
|
|
note: "Renamed: catchAll is Effect.catch in v4."
|
|
effect/Micro#catchAllCause:
|
|
replacement: "Effect.catchCause"
|
|
note: "Renamed: catchAllCause is Effect.catchCause in v4."
|
|
effect/Micro#catchAllDefect:
|
|
replacement: "Effect.catchDefect"
|
|
note: "Renamed: catchAllDefect is Effect.catchDefect in v4."
|
|
effect/Micro#catchIf:
|
|
replacement: "Effect.catchIf"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#catchTag:
|
|
replacement: "Effect.catchTag"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#causeDie:
|
|
replacement: "Cause.die"
|
|
note: "MicroCause was replaced by the unified effect/Cause module in v4."
|
|
effect/Micro#causeFail:
|
|
replacement: "Cause.fail"
|
|
note: "MicroCause was replaced by the unified effect/Cause module in v4."
|
|
effect/Micro#causeInterrupt:
|
|
replacement: "Cause.interrupt"
|
|
note: "MicroCause was replaced by the unified effect/Cause module in v4. Takes an optional fiber id."
|
|
effect/Micro#causeIsDie:
|
|
replacement: "Cause.hasDies"
|
|
note: "v4 Cause aggregates multiple reasons, so tag refinements become reason queries: Cause.hasDies checks for Die reasons; use Cause.isDieReason for a single Reason value."
|
|
effect/Micro#causeIsFail:
|
|
replacement: "Cause.hasFails"
|
|
note: "v4 Cause aggregates multiple reasons, so tag refinements become reason queries: Cause.hasFails checks for Fail reasons; use Cause.isFailReason for a single Reason value."
|
|
effect/Micro#causeIsInterrupt:
|
|
replacement: "Cause.hasInterrupts"
|
|
note: "v4 Cause aggregates multiple reasons, so tag refinements become reason queries: Cause.hasInterrupts checks for Interrupt reasons (see also Cause.hasInterruptsOnly)."
|
|
effect/Micro#causeSquash:
|
|
replacement: "Cause.squash"
|
|
note: "Same behavior in the unified effect/Cause module."
|
|
effect/Micro#causeWithTrace:
|
|
replacement: "Cause.annotate"
|
|
note: "v4 causes carry structured annotations instead of a traces array; attach trace data with Cause.annotate (e.g. the Cause.StackTrace service). v4 also captures failure stack traces automatically."
|
|
effect/Micro#context:
|
|
replacement: "Effect.context"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#CurrentConcurrency:
|
|
replacement: "none"
|
|
note: "Removed in v4 (no fiber-wide concurrency reference). Pass a { concurrency } option directly to the operations that fan out, e.g. Effect.all or Effect.forEach."
|
|
effect/Micro#CurrentScheduler:
|
|
replacement: "References.Scheduler"
|
|
note: "The scheduler reference lives in effect/References (also exported from effect/Scheduler as Scheduler.Scheduler). Override it with Effect.provideService/Effect.updateService."
|
|
effect/Micro#delay:
|
|
replacement: "Effect.delay"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#Do:
|
|
replacement: "Effect.Do"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#either:
|
|
replacement: "Effect.result"
|
|
note: "Either was replaced by Result in v4: Effect.result yields Result.Result<A, E> instead of Either<A, E>."
|
|
effect/Micro#ensuring:
|
|
replacement: "Effect.ensuring"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#Error:
|
|
replacement: "Data.Error"
|
|
note: "The yieldable error base class constructor is Data.Error from effect/Data in v4."
|
|
effect/Micro#exit:
|
|
replacement: "Effect.exit"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#exitDie:
|
|
replacement: "Exit.die"
|
|
note: "MicroExit was replaced by the unified effect/Exit module in v4."
|
|
effect/Micro#exitFail:
|
|
replacement: "Exit.fail"
|
|
note: "MicroExit was replaced by the unified effect/Exit module in v4."
|
|
effect/Micro#exitFailCause:
|
|
replacement: "Exit.failCause"
|
|
note: "MicroExit was replaced by the unified effect/Exit module in v4."
|
|
effect/Micro#exitInterrupt:
|
|
replacement: "Exit.interrupt"
|
|
note: "MicroExit was replaced by the unified effect/Exit module in v4. Takes an optional fiber id."
|
|
effect/Micro#exitIsDie:
|
|
replacement: "Exit.hasDies"
|
|
note: "v4 exits carry a multi-reason Cause, so tag refinements become reason queries: Exit.hasDies checks the failure cause for Die reasons."
|
|
effect/Micro#exitIsFail:
|
|
replacement: "Exit.hasFails"
|
|
note: "v4 exits carry a multi-reason Cause, so tag refinements become reason queries: Exit.hasFails checks the failure cause for Fail reasons."
|
|
effect/Micro#exitIsFailure:
|
|
replacement: "Exit.isFailure"
|
|
note: "Same refinement in the unified effect/Exit module."
|
|
effect/Micro#exitIsInterrupt:
|
|
replacement: "Exit.hasInterrupts"
|
|
note: "v4 exits carry a multi-reason Cause, so tag refinements become reason queries: Exit.hasInterrupts checks the failure cause for Interrupt reasons."
|
|
effect/Micro#exitIsSuccess:
|
|
replacement: "Exit.isSuccess"
|
|
note: "Same refinement in the unified effect/Exit module."
|
|
effect/Micro#exitSucceed:
|
|
replacement: "Exit.succeed"
|
|
note: "MicroExit was replaced by the unified effect/Exit module in v4."
|
|
effect/Micro#exitVoid:
|
|
replacement: "Exit.void"
|
|
note: "MicroExit was replaced by the unified effect/Exit module in v4."
|
|
effect/Micro#exitVoidAll:
|
|
replacement: "Exit.asVoidAll"
|
|
note: "Renamed: exitVoidAll becomes Exit.asVoidAll in the unified effect/Exit module."
|
|
effect/Micro#fail:
|
|
replacement: "Effect.fail"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#failCause:
|
|
replacement: "Effect.failCause"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#failCauseSync:
|
|
replacement: "Effect.failCauseSync"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#failSync:
|
|
replacement: "Effect.failSync"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#fiberAwait:
|
|
replacement: "Fiber.await"
|
|
note: "Fiber operations moved to the effect/Fiber module in v4."
|
|
effect/Micro#fiberInterrupt:
|
|
replacement: "Fiber.interrupt"
|
|
note: "Fiber operations moved to the effect/Fiber module in v4."
|
|
effect/Micro#fiberInterruptAll:
|
|
replacement: "Fiber.interruptAll"
|
|
note: "Fiber operations moved to the effect/Fiber module in v4."
|
|
effect/Micro#fiberJoin:
|
|
replacement: "Fiber.join"
|
|
note: "Fiber operations moved to the effect/Fiber module in v4."
|
|
effect/Micro#filter:
|
|
replacement: "Effect.filter"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#filterMap:
|
|
replacement: "Effect.filterMap"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#filterOrFail:
|
|
replacement: "Effect.filterOrFail"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#filterOrFailCause:
|
|
replacement: "Effect.filterOrElse"
|
|
note: "No direct equivalent; use Effect.filterOrElse and fail with a cause in the fallback."
|
|
example: "Effect.filterOrElse(effect, predicate, { orElse: () => Effect.failCause(Cause.die(\"invalid\")) })"
|
|
effect/Micro#flatten:
|
|
replacement: "Effect.flatten"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#flip:
|
|
replacement: "Effect.flip"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#forkDaemon:
|
|
replacement: "Effect.forkDetach"
|
|
note: "Renamed: forkDaemon becomes Effect.forkDetach (fork detached from the parent's lifetime)."
|
|
effect/Micro#forkIn:
|
|
replacement: "Effect.forkIn"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#forkScoped:
|
|
replacement: "Effect.forkScoped"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#fromEither:
|
|
replacement: "Effect.fromResult"
|
|
note: "Either was replaced by Result in v4: convert Result.Result values with Effect.fromResult."
|
|
effect/Micro#fromOption:
|
|
replacement: "Effect.fromOption"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#ignore:
|
|
replacement: "Effect.ignore"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#ignoreLogged:
|
|
replacement: "Effect.ignore"
|
|
note: "Removed; log explicitly before ignoring."
|
|
example: "effect.pipe(Effect.tapCause((cause) => Effect.logError(cause)), Effect.ignore)"
|
|
effect/Micro#interrupt:
|
|
replacement: "Effect.interrupt"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#interruptible:
|
|
replacement: "Effect.interruptible"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#isMicro:
|
|
replacement: "Effect.isEffect"
|
|
note: "Micro values are plain Effects in v4; use Effect.isEffect."
|
|
effect/Micro#isMicroCause:
|
|
replacement: "Cause.isCause"
|
|
note: "MicroCause was replaced by the unified effect/Cause module in v4."
|
|
effect/Micro#isMicroExit:
|
|
replacement: "Exit.isExit"
|
|
note: "MicroExit was replaced by the unified effect/Exit module in v4."
|
|
effect/Micro#let:
|
|
replacement: "Effect.let"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#map:
|
|
replacement: "Effect.map"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#mapErrorCause:
|
|
replacement: "Effect.catchCause"
|
|
note: "No direct equivalent; transform the cause by catching it and re-failing."
|
|
example: "Effect.catchCause(effect, (cause) => Effect.failCause(Cause.map(cause, transformError)))"
|
|
effect/Micro#match:
|
|
replacement: "Effect.match"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#matchCause:
|
|
replacement: "Effect.matchCause"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#matchCauseEffect:
|
|
replacement: "Effect.matchCauseEffect"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#MaxOpsBeforeYield:
|
|
replacement: "References.MaxOpsBeforeYield"
|
|
note: "The reference lives in effect/References (also exported from effect/Scheduler). Override it with Effect.updateService."
|
|
effect/Micro#Micro:
|
|
replacement: "Effect.Effect"
|
|
note: "The Micro<A, E, R> type is Effect.Effect<A, E, R> in v4; the v4 Effect runtime is itself lightweight."
|
|
effect/Micro#Micro.Context:
|
|
replacement: "Effect.Services"
|
|
note: "Type extractor renamed: Micro.Context<T> becomes Effect.Services<T> in v4."
|
|
effect/Micro#Micro.Error:
|
|
replacement: "Effect.Error"
|
|
note: "Type extractor: Micro.Error<T> becomes Effect.Error<T> in v4."
|
|
effect/Micro#Micro.Success:
|
|
replacement: "Effect.Success"
|
|
note: "Type extractor: Micro.Success<T> becomes Effect.Success<T> in v4."
|
|
effect/Micro#MicroCause:
|
|
replacement: "Cause.Cause"
|
|
note: "MicroCause<E> becomes Cause.Cause<E>. Note v4 Cause holds a list of failure reasons (Fail | Die | Interrupt) rather than being a single tagged variant."
|
|
effect/Micro#MicroCause.Die:
|
|
replacement: "Cause.Die"
|
|
note: "The Die variant is a Reason in v4: Cause.Die from effect/Cause."
|
|
effect/Micro#MicroCause.Error:
|
|
replacement: "Cause.Cause.Error"
|
|
note: "Type extractor: use the Error helper in the Cause.Cause namespace to extract the error type."
|
|
effect/Micro#MicroCause.Fail:
|
|
replacement: "Cause.Fail"
|
|
note: "The Fail variant is a Reason in v4: Cause.Fail<E> from effect/Cause."
|
|
effect/Micro#MicroCause.Interrupt:
|
|
replacement: "Cause.Interrupt"
|
|
note: "The Interrupt variant is a Reason in v4: Cause.Interrupt from effect/Cause."
|
|
effect/Micro#MicroCause.Proto:
|
|
replacement: "Cause.Cause.ReasonProto"
|
|
note: "Internal prototype type; the closest v4 equivalent is the ReasonProto interface in the Cause.Cause namespace. Rarely needed directly."
|
|
effect/Micro#MicroCauseTypeId:
|
|
replacement: "Cause.TypeId"
|
|
note: "Use Cause.TypeId from effect/Cause (value is \"~effect/Cause\")."
|
|
effect/Micro#MicroExit:
|
|
replacement: "Exit.Exit"
|
|
note: "MicroExit<A, E> becomes Exit.Exit<A, E> from effect/Exit. In v4 Exit is a subtype of Effect."
|
|
effect/Micro#MicroExit.Failure:
|
|
replacement: "Exit.Failure"
|
|
note: "MicroExit.Failure becomes Exit.Failure<A, E> from effect/Exit."
|
|
effect/Micro#MicroExit.Proto:
|
|
replacement: "Exit.Exit.Proto"
|
|
note: "Internal prototype type; v4 exposes the shared base as Proto in the Exit.Exit namespace. Rarely needed directly."
|
|
effect/Micro#MicroExit.Success:
|
|
replacement: "Exit.Success"
|
|
note: "MicroExit.Success becomes Exit.Success<A, E> from effect/Exit."
|
|
effect/Micro#MicroExitTypeId:
|
|
replacement: "none"
|
|
note: "v4 Exit is a subtype of Effect and has no dedicated TypeId; use Exit.isExit to identify exits."
|
|
effect/Micro#MicroFiber:
|
|
replacement: "Fiber.Fiber"
|
|
note: "MicroFiber<A, E> becomes Fiber.Fiber<A, E> from effect/Fiber."
|
|
effect/Micro#MicroFiber.Variance:
|
|
replacement: "none"
|
|
note: "Type-level variance helper with no public v4 equivalent; the v4 Fiber.Fiber interface carries variance directly."
|
|
effect/Micro#MicroFiberTypeId:
|
|
replacement: "none"
|
|
note: "No public TypeId on v4 fibers; use Fiber.isFiber to identify fibers."
|
|
effect/Micro#MicroIterator:
|
|
replacement: "Effect.EffectIterator"
|
|
note: "Renamed: MicroIterator becomes Effect.EffectIterator (generator support for Effect.gen)."
|
|
effect/Micro#MicroSchedule:
|
|
replacement: "Schedule.Schedule"
|
|
note: "v3 MicroSchedule was a plain function (attempt, elapsedMillis) => Option<delayMillis>; v4 uses the first-class Schedule.Schedule type from effect/Schedule."
|
|
effect/Micro#MicroScheduler:
|
|
replacement: "Scheduler.Scheduler"
|
|
note: "The scheduler interface lives in effect/Scheduler in v4."
|
|
effect/Micro#MicroSchedulerDefault:
|
|
replacement: "Scheduler.MixedScheduler"
|
|
note: "The default task scheduler implementation in v4 is Scheduler.MixedScheduler from effect/Scheduler."
|
|
effect/Micro#MicroScope:
|
|
replacement: "Scope.Scope"
|
|
note: "MicroScope becomes Scope.Scope from effect/Scope; the closeable variant is Scope.Closeable."
|
|
effect/Micro#MicroScopeTypeId:
|
|
replacement: "none"
|
|
note: "No public TypeId on v4 scopes; use the Scope.Scope service key to access the current scope."
|
|
effect/Micro#MicroTypeLambda:
|
|
replacement: "Effect.EffectTypeLambda"
|
|
note: "Renamed: MicroTypeLambda becomes Effect.EffectTypeLambda."
|
|
effect/Micro#MicroUnify:
|
|
replacement: "Effect.EffectUnify"
|
|
note: "Renamed: MicroUnify becomes Effect.EffectUnify."
|
|
effect/Micro#MicroUnifyIgnore:
|
|
replacement: "none"
|
|
note: "Removed; v4 Effect declares its unify-ignore slot inline and exposes no named UnifyIgnore interface."
|
|
effect/Micro#NoSuchElementException:
|
|
replacement: "Cause.NoSuchElementError"
|
|
note: "Renamed and moved: NoSuchElementException becomes Cause.NoSuchElementError from effect/Cause."
|
|
effect/Micro#onExit:
|
|
replacement: "Effect.onExit"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#onInterrupt:
|
|
replacement: "Effect.onInterrupt"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#option:
|
|
replacement: "Effect.option"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#orDie:
|
|
replacement: "Effect.orDie"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#orElseSucceed:
|
|
replacement: "Effect.orElseSucceed"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#promise:
|
|
replacement: "Effect.promise"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#race:
|
|
replacement: "Effect.race"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#raceAll:
|
|
replacement: "Effect.raceAll"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#raceFirst:
|
|
replacement: "Effect.raceFirst"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#repeatExit:
|
|
replacement: "Effect.repeat"
|
|
note: "Removed; use Effect.repeat with while/until/times/schedule options. To inspect failures while looping, run the body through Effect.exit and repeat on the Exit value."
|
|
example: "Effect.repeat(Effect.exit(effect), { while: (exit) => Exit.isFailure(exit), times: 3 })"
|
|
effect/Micro#replicate:
|
|
replacement: "Effect.replicate"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#replicateEffect:
|
|
replacement: "Effect.replicateEffect"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#retry:
|
|
replacement: "Effect.retry"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#runFork:
|
|
replacement: "Effect.runFork"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#runPromise:
|
|
replacement: "Effect.runPromise"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#runPromiseExit:
|
|
replacement: "Effect.runPromiseExit"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#runSync:
|
|
replacement: "Effect.runSync"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#runSyncExit:
|
|
replacement: "Effect.runSyncExit"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#sandbox:
|
|
replacement: "Effect.sandbox"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#scheduleAddDelay:
|
|
replacement: "Schedule.addDelay"
|
|
note: "Moved to effect/Schedule; the callback now receives schedule Metadata and returns a Duration (optionally effectful)."
|
|
effect/Micro#scheduleExponential:
|
|
replacement: "Schedule.exponential"
|
|
note: "Moved to effect/Schedule; takes Duration input instead of raw millis."
|
|
effect/Micro#scheduleIntersect:
|
|
replacement: "Schedule.max"
|
|
note: "Intersection (recur while both recur, waiting for the slower) is Schedule.max([self, that]) in v4."
|
|
effect/Micro#scheduleRecurs:
|
|
replacement: "Schedule.recurs"
|
|
note: "Moved to effect/Schedule."
|
|
effect/Micro#scheduleSpaced:
|
|
replacement: "Schedule.spaced"
|
|
note: "Moved to effect/Schedule; takes Duration input instead of raw millis."
|
|
effect/Micro#scheduleUnion:
|
|
replacement: "Schedule.min"
|
|
note: "Union (recur while either recurs, waiting for the faster) is Schedule.min([self, that]) in v4."
|
|
effect/Micro#scheduleWithMaxDelay:
|
|
replacement: "Schedule.modifyDelay"
|
|
note: "No direct equivalent; clamp the delay with Schedule.modifyDelay."
|
|
example: "Schedule.modifyDelay(schedule, ({ delay }) => Duration.min(delay, \"10 seconds\"))"
|
|
effect/Micro#scheduleWithMaxElapsed:
|
|
replacement: "Schedule.upTo"
|
|
note: "Renamed: cap total elapsed time with Schedule.upTo({ duration })."
|
|
example: "Schedule.upTo(schedule, { duration: \"30 seconds\" })"
|
|
effect/Micro#scoped:
|
|
replacement: "Effect.scoped"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#scopeMake:
|
|
replacement: "Scope.make"
|
|
note: "Moved to effect/Scope: Scope.make returns Effect<Scope.Closeable> and accepts an optional finalizer strategy."
|
|
effect/Micro#scopeUnsafeMake:
|
|
replacement: "Scope.makeUnsafe"
|
|
note: "Renamed and moved: scopeUnsafeMake becomes Scope.makeUnsafe from effect/Scope."
|
|
effect/Micro#service:
|
|
replacement: "service"
|
|
note: "Micro was removed in v4, and services are Effects; yield or compose the service key directly in the rewritten Effect runtime."
|
|
effect/Micro#succeed:
|
|
replacement: "Effect.succeed"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#sync:
|
|
replacement: "Effect.sync"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#TaggedError:
|
|
replacement: "Data.TaggedError"
|
|
note: "The yieldable tagged error class constructor is Data.TaggedError from effect/Data in v4."
|
|
effect/Micro#tap:
|
|
replacement: "Effect.tap"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#tapDefect:
|
|
replacement: "Effect.tapDefect"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#tapError:
|
|
replacement: "Effect.tapError"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#tapErrorCause:
|
|
replacement: "Effect.tapCause"
|
|
note: "Renamed: tapErrorCause becomes Effect.tapCause."
|
|
effect/Micro#tapErrorCauseIf:
|
|
replacement: "Effect.tapCauseIf"
|
|
note: "Renamed: tapErrorCauseIf becomes Effect.tapCauseIf (see also Effect.tapCauseFilter for Filter-based matching)."
|
|
effect/Micro#timeout:
|
|
replacement: "Effect.timeout"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#TimeoutException:
|
|
replacement: "Cause.TimeoutError"
|
|
note: "Renamed and moved: TimeoutException becomes Cause.TimeoutError from effect/Cause (raised by Effect.timeout)."
|
|
effect/Micro#timeoutOption:
|
|
replacement: "Effect.timeoutOption"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#try:
|
|
replacement: "Effect.try"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#tryPromise:
|
|
replacement: "Effect.tryPromise"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#TypeId:
|
|
replacement: "Effect.TypeId"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#uninterruptibleMask:
|
|
replacement: "Effect.uninterruptibleMask"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#updateContext:
|
|
replacement: "Effect.updateContext"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#updateService:
|
|
replacement: "Effect.updateService"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#void:
|
|
replacement: "Effect.void"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#when:
|
|
replacement: "Effect.when"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#whileLoop:
|
|
replacement: "Effect.whileLoop"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|
|
effect/Micro#withConcurrency:
|
|
replacement: "none"
|
|
note: "Removed in v4 along with \"inherit\" concurrency; pass a { concurrency } option directly to each concurrent operation."
|
|
example: "Effect.forEach(items, handle, { concurrency: 10 })"
|
|
effect/Micro#withMicroFiber:
|
|
replacement: "Effect.withFiber"
|
|
note: "Renamed: withMicroFiber becomes Effect.withFiber, giving access to the current fiber."
|
|
effect/Micro#withTrace:
|
|
replacement: "Effect.withSpan"
|
|
note: "Removed; v4 captures failure stack traces automatically and cause annotations replace the traces array. For named tracing regions use Effect.withSpan."
|
|
effect/Micro#YieldableError:
|
|
replacement: "Cause.YieldableError"
|
|
note: "Moved: YieldableError lives in effect/Cause in v4."
|
|
effect/Micro#yieldFlush:
|
|
replacement: "none"
|
|
note: "Removed; access the current scheduler via the References.Scheduler service and call its flush() method directly if deterministic draining is needed."
|
|
effect/Micro#yieldNow:
|
|
replacement: "Effect.yieldNow"
|
|
note: "Micro was removed in v4; the rewritten Effect runtime is itself lightweight and replaces it. Same-name equivalent on effect/Effect."
|