docs: handle generation of custom action sin the workflow pair

This commit is contained in:
karishmas6
2024-06-08 22:54:29 +05:30
parent 6175d2a3a9
commit 990f844184

View File

@@ -74,6 +74,14 @@ const onGenerateAction = async (customActionEventData: CustomActionEventData) =>
await handleWrapper(handleGenerateAction, customActionEventData);
}
/**
* Handles the generation of a cutom action workflow pair.
* @param generator The workflow generator
* @param page The active page
* @param action The custom action
* @param settings The custom action settings
* @category BrowserManagement
*/
const handleGenerateAction =
async (generator: WorkflowGenerator, page: Page, {action, settings}: CustomActionEventData) => {
await generator.customAction(action, settings, page);