refactor: remove outdated comments and clean up hook execution documentation

This commit is contained in:
sanish-bruno
2026-01-23 16:24:18 +05:30
parent 60593575e3
commit 68bd6d5303

View File

@@ -489,14 +489,6 @@ const registerNetworkIpc = (mainWindow) => {
}
};
/**
* Execute all hooks using consolidated approach
* @param {object} extractedHooks - Hooks from all levels
* @param {string} hookEvent - Hook event to trigger
* @param {object} eventData - Data to pass to hook handlers
* @param {object} options - Configuration options
* @returns {Promise<object|null>} Execution result or null if error
*/
/**
* Execute merged hooks for a specific event
* @param {string} hookEvent - Hook event to trigger