[IMP] index: export batched utility function

'batched' will be used in odoo/o-spreadsheet.
There's also a copied version (slightly modified) in odoo/odoo.

It shows it could be useful outside owl.
This commit is contained in:
Lucas Lefèvre (lul)
2024-05-22 10:09:41 +02:00
committed by Géry Debongnie
parent 7952f31e63
commit 2eb151c92d
3 changed files with 22 additions and 1 deletions
+1
View File
@@ -47,3 +47,4 @@ Utility/helpers:
- [`status`](reference/component.md#status-helper): utility function to get the status of a component (new, mounted or destroyed)
- [`validate`](reference/utils.md#validate): validates if an object satisfies a specified schema
- [`whenReady`](reference/utils.md#whenready): utility function to execute code when DOM is ready
- [`batched`](reference/utils.md#batched): utility function to batch function calls