handleSocketNotification
The main function responsible for handling socket notifications
Presentation
function handleSocketNotification (
table: string,
action: string,
ids: string[],
): void;
Returns
void
Parameters
Name | Type | Description |
---|---|---|
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 |