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
This commit is contained in:
Rishabh Rathod 2023-02-15 21:57:27 +05:30 committed by GitHub
parent bda10bb070
commit b644388023
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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[] = [];