I want to call ajax callback function from another module's controller in Drupal 8. is it possible?
If anything, this should be:

'callback' =&gt; ['\Drupal\common_functions\Controller\CommonFunctionsController', 'ajax_load_boiler_size'],


That's only if it's going to work though. No guarantees.