Model
ReindexStrategyOptions
Magento\InventoryIndexer\Model\ReindexStrategyOptions
What it does
This class provides configuration options for inventory reindexing strategies in Magento 2.
Developers use this to define whether inventory reindexing should happen synchronously (immediately) or asynchronously (in background).
It implements OptionSourceInterface to populate dropdown fields in admin configuration settings.
Public Methods
- toOptionArray()