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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]