Can you add a unsubscribeAll or offAll method on the event bus so all listeners can be removed with one call?
const EventBus = createEventBus({ events: MyEvents });
EventBus.ping.on(() => { console.log("pong"); });
EventBus.say.on("michel", (words) => { console.log("michel said", words); });
// Add a unsubscribe all method
EventBus.unsubscribeAll();