DCTM:xCP Verify Events published or not

Ext.define("eventBusOverride", {
    override: 'xcp.event.EventBus',
    publish: function () {
        console.log('Publisher called..!' + arguments[0]);
        console.log(arguments);
        this.callParent(arguments);
    },
    subscribe: function () {
        console.log('Subscriber called..!' + arguments[0]);
        console.log(arguments);
        this.callParent(arguments);
    }
});

Leave a Reply

Your email address will not be published. Required fields are marked *