Log in
Model

GridAsyncInsert

Magento\Sales\Model\GridAsyncInsert

What it does

This class manages asynchronous indexing of sales entity grids (Orders, Invoices, Shipments, and Credit Memos) during cron jobs.

Developers use this when they need to handle background updates to sales grids instead of updating them immediately when entities are created, improving performance by deferring the grid refresh operation.

Public Methods

  • asyncInsert()