Home
Using Smart NgRX
Demo Walkthrough
API
@smarttools/smart-ngrx / Function

updateEntity

Generic types:T

Use this function to update the rows represented by the ids for an entity in a feature in response to a websocket event indicating the row has been updated.

Presentation

function updateEntity(feature: string, entity: string, ids: string[]): void;

Returns

void

Parameters

NameTypeDescription
feature
string

The feature the entity is in.

entity
string

The entity to update.

ids
string[]

The ids of the rows that need to be refreshed.