Skip to content

deepCopy

deepCopy(baseState): () => Promise<BaseState>

Returns a new instance of the ForkStateManager with the same opts and all storage copied over

Parameters

baseState: BaseState

Returns

Function

Returns

Promise<BaseState>

Defined in

packages/state/src/actions/deepCopy.js:10