001    package com.hammurapi.eventbus;
002    
003    public interface EventDispatchJoinContext<E, P extends Comparable<P>, C, H extends EventBus.Handle<E,P,C>, S extends EventStore<E,P,C,H,S>> extends EventDispatchContext<E,P,C,H,S> {
004            
005            /**
006             * Consumes event at index removing it from further multi-event joins
007             * by this handler, but not from processing by other handlers. 
008             * @param indices
009             */
010            void consumeJoin(int index);
011            
012            /**
013             * Consumes event removing it from further multi-event joins by this
014             * handler, but not by other handlers.
015             * @param events
016             */
017            void consumeJoin(E event);
018            
019            
020    
021    }