How to get and listen realtime channel events in JavaScript

Every 5 seconds is not a good idea due to caching.

For any given endpoint it’s not worth polling quicker than once per minute.

For follow notifications (on overlays and the like), most people don’\t bother since it’s just noise.

But you could wait until EventSub has a socket Transport which then means you can use EventSub for everything