package org.jeecqrs.events;

/**
 * Provides the ability to send events to interested listeners (publish-subscribe).
 * 
 * @param <E>   the base message type
 */
public interface EventBus<E> {

    void dispatch(String bucketId, E event);
    
}

@@ -188,16 +188,220 @@
 s%3CE%3E %7B%0A%0A
+    /**%0A     * Dispatches and event in the given bucket on the event bus.%0A     * %0A     * @param bucketId  the bucket in which the event shall be sent%0A     * @param event     the event to dispatch%0A     */%0A
     void

document the EventBus interface