tejasajmera opened a new pull request #6358:
URL: https://github.com/apache/incubator-pinot/pull/6358


   **Rationale**
   The ember-model-table does not work well with callback functions to invoke 
in a parent hosting component when there are interactions in a table. In order 
to bridge this, we are adding support for a very lightweight PubSub 
implementation.
   
   **Usage**
   ```javascript
   import pubSub from 'app/utils/pub-sub';
   
   //For publishing
   pubSub.publish('testEvent', data);
    
   //For subscribing
   const subscription = pubSub.subscribe('testEvent', (data) => {
   });
    
   //For unsubscribing
   subscription.unsubscribe();
    ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to