Please can somebody explain the listener on the react extensions-boilerplate example

Hi, thank you.

IF there are no message, shouldn’t the function’s log still show, as to know if it is working? Or will it only do the this.twitch.rig if there is a message?

Edit: and another thing, If someone is sending me messages to the pubsub, then i don’t need an EBS, right? How would I listen to an EBS? I am sorry, it is very confusing and I’m going crazy. Is there a case when I would need to create the sockets myself.

I can’t quite grasp the concepts

there is a pubsub where anyone can send messages and if they are for me or public I can listen to them, right?

And then on the other hand, what does an EBS do? is it in charge of sending those messages? Can the EBS and the front end communicate in other ways that is not the pubsub, or is it mandatory to go through the pubsub?

Any help with making this clear for me is highly appreciated