Skip to main content

Function: onUpdated()

onUpdated(model, callback)

onUpdated<I>(model, callback): () => void

Type parameters

I extends ModelInstance

Parameters

model: Model<any, I>

callback

Returns

Function

Returns

void

Source

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

onUpdated(composable, callback)

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

Type parameters

C extends ModelComposable

Parameters

composable: C

callback

Returns

Function

Returns

void

Source

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

onUpdated(factory, callback)

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

Type parameters

D extends object

Parameters

factory: ModelFactory<D>

callback

Returns

Function

Returns

void

Source

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