This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import notifierQueue from "~/queues/notifier.server.ts"; | |
| export const loader = async () => { | |
| await notifierQueue.add("test", { emailAddress: "[email protected]" }); | |
| return null; | |
| }; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| namespace Macademy\JsFun\Controller\Index; | |
| use Magento\Framework\App\Action\HttpGetActionInterface; | |
| use Magento\Framework\View\Result\PageFactory; | |
| // Composition implements an action interface. Common interfaces to implement: | |
| // Create - HttpPutActionInterface | |
| // Read - HttpGetActionInterface | |
| // Update - HttpPostActionInterface |