usecraft\commerce\events\OrderStatusEvent;usecraft\commerce\services\OrderHistories;useyii\base\Event;
Event::on(OrderHistories::class, OrderHistories::EVENT_ORDER_STATUS_CHANGE,function(OrderStatusEvent $e){// Perhaps, let the delivery department know that the order is ready to be delivered.});