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

handleSocketNotification

The main function responsible for handling socket notifications

Presentation

function handleSocketNotification(
  table: string,
  action: string,
  ids: string[],
): void;

Returns

void

Parameters

NameTypeDescription
table
string

the table that the notification is for

action
string

the action that the notification is for (create, delete, update)

ids
string[]

the ids of the entities that the notification is for