import { allSettled } from "https://dotland.deno.dev/x/effector@effector-vue%4023.1.0/packages/effector/index.d.ts";
Run effect in scope and wait for all triggered effects to settle. This method never throw an error
Type Parameters
FX extends Effect<any, any, any>
Parameters
config: { scope: Scope; params: EffectParams<FX>; }
Returns
Promise<{ status: "done"; value: EffectResult<FX>; } | { status: "fail"; value: EffectError<FX>; }>
promise with status object for given effect, will resolve when there will be no pending effects in given scope
Run effect withot arguments in scope and wait for all triggered effects to settle. This method never throw an error
Type Parameters
FX extends Effect<void, any, any>
Returns
Promise<{ status: "done"; value: EffectResult<FX>; } | { status: "fail"; value: EffectError<FX>; }>
promise with status object for given effect, will resolve when there will be no pending effects in given scope
Run unit in scope and wait for all triggered effects to settle. This method never throw an error
Run unit without arguments in scope and wait for all triggered effects to settle. This method never throw an error
Parameters
config: { scope: Scope; }