LeRatierBretonnien 3b79a19ca5
All checks were successful
Release Creation / build (release) Successful in 53s
Sync bol for module releas
2025-01-25 20:19:37 +01:00

14 lines
471 B
JavaScript

/**
* Handles socket events based on the provided action.
*
* @param {Object} [params={}] The parameters for the socket event.
* @param {string|null} [params.action=null] The action to be performed.
* @param {Object} [params.data={}] The data associated with the action.
* @returns {*} The result of the action handler, if applicable.
*/
export function handleSocketEvent({ action = null, data = {} } = {}) {
console.debug("handleSocketEvent", action, data)
}