Log in
Model

OperationStatus

Magento\AsynchronousOperations\Model\OperationStatus

What it does

This class represents a simplified status summary of an asynchronous operation in Magento 2.

Developers use it to retrieve basic information about an operation's current state, including its ID, execution status, result message, and any error codes.

It's typically used when displaying operation summaries or tracking bulk operation progress without needing full operation details.

Public Methods

  • getId()
  • getStatus()
  • getResultMessage()
  • getErrorCode()