GridAsyncInsert
Magento\Sales\Model\GridAsyncInsert
What it does
This class manages asynchronous insertion of sales entities (Orders, Invoices, Shipments, Credit Memos) into their respective grids.
Developers use this class when they need to handle delayed grid indexing through cron jobs instead of immediate synchronous updates, which improves performance during high-volume transactions.
It checks if async indexing is enabled in configuration before performing the grid refresh.
Public Methods
- asyncInsert()