Skip to main content

Function: onBoot()

onBoot(model, callback)

onBoot<M>(model, callback): () => void

Type parameters

M extends Model

Parameters

model: M

callback

Returns

Function

Returns

void

Source

packages/core/src/model/hooks/onBoot.ts:3

onBoot(composable, callback)

onBoot<C>(composable, callback): () => void

Type parameters

C extends ModelComposable

Parameters

composable: C

callback

Returns

Function

Returns

void

Source

packages/core/src/model/hooks/onBoot.ts:3

onBoot(factory, callback)

onBoot<D>(factory, callback): () => void

Type parameters

D extends object

Parameters

factory: ModelFactory<D>

callback

Returns

Function

Returns

void

Source

packages/core/src/model/hooks/onBoot.ts:3