Module

x/effector/packages/effector/index.d.ts>fork

Business logic with ease ☄️
Latest
function fork
import { fork } from "https://dotland.deno.dev/x/effector@effector-vue%4023.1.0/packages/effector/index.d.ts";

Creates isolated instance of application. Primary purposes of this method are SSR and testing.

Parameters

optional
config: { values?: StorePair<any>[] | SerializedState | LegacyMap; handlers?: Handlers; }

optional configuration object with initial store values and effect handlers

Returns

new scope

Creates isolated instance of application. Primary purposes of this method are SSR and testing.

Parameters

domain: Domain

optional root domain

optional
config: { values?: SerializedState | LegacyMap | Array<[StoreWritable<any>, any]>; handlers?: Handlers; }

optional configuration object with initial store values and effect handlers

Returns

new scope