Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

Business logic with ease ☄️
Latest
function fork
import { fork } from "https://deno.land/x/effector@effector-vue@23.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