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

processMarkAndDelete

Goes through all the rows that have been registered and marks them as dirty or garbage collects them as needed.

Presentation

function processMarkAndDelete(
  featureKey: string,
  entity: string,
  garbageCollectRowIds: string[],
  markDirtyRowIds: string[],
): void;

Returns

void

Parameters

NameTypeDescription
featureKey
string

the key we are looking at

entity
string

the entity we are looking at

garbageCollectRowIds
string[]

items that need to be garbage collected

markDirtyRowIds
string[]

items that need to be marked dirty