All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.opencredo.concursus.mapping.events.methods.reflection.dispatching.InitialEventDispatcher Maven / Gradle / Ivy

The newest version!
package com.opencredo.concursus.mapping.events.methods.reflection.dispatching;

import com.opencredo.concursus.domain.events.Event;

import java.util.function.Function;

/**
 * Given an Event, an InitialEventDispatcher knows how to obtain an instance of a state type S.
 * @param  The type of the state object to construct from the event.
 */
@FunctionalInterface
public interface InitialEventDispatcher extends Function {
}