From b6443880234c2c67bc31c146715490bc29b60399 Mon Sep 17 00:00:00 2001 From: Rishabh Rathod Date: Wed, 15 Feb 2023 21:57:27 +0530 Subject: [PATCH] chore: export batching method for ee PR (#20631) ## Description Changes required for this PR https://github.com/appsmithorg/appsmith-ee/pull/1083/ ## Type of change - Chore (housekeeping or task changes that don't impact user perception) ## How Has This Been Tested? ## Checklist: ### Dev activity - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] PR is being merged under a feature flag ### QA activity: - [ ] Test plan has been approved by relevant developers - [ ] Test plan has been peer reviewed by QA - [ ] Cypress test cases have been added and approved by either SDET or manual QA - [ ] Organized project review call with relevant stakeholders after Round 1/2 of QA - [ ] Added Test Plan Approved label after reveiwing all Cypress test --- app/client/src/workers/Evaluation/fns/utils/TriggerEmitter.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/client/src/workers/Evaluation/fns/utils/TriggerEmitter.ts b/app/client/src/workers/Evaluation/fns/utils/TriggerEmitter.ts index 2886d6de16..04dc39ab2a 100644 --- a/app/client/src/workers/Evaluation/fns/utils/TriggerEmitter.ts +++ b/app/client/src/workers/Evaluation/fns/utils/TriggerEmitter.ts @@ -21,7 +21,7 @@ const TriggerEmitter = new EventEmitter(); * @param task * @returns */ -const priorityBatchedActionHandler = function( +export const priorityBatchedActionHandler = function( task: (batchedData: unknown[]) => void, ) { let batchedData: unknown[] = []; @@ -44,7 +44,7 @@ const priorityBatchedActionHandler = function( * @param deferredTask * @returns */ -const deferredBatchedActionHandler = function( +export const deferredBatchedActionHandler = function( deferredTask: (batchedData: unknown) => void, ) { let batchedData: unknown[] = [];