com.opencredo.concourse.domain.events.channels.EventsOutChannel Maven / Gradle / Ivy
package com.opencredo.concourse.domain.events.channels;
import com.opencredo.concourse.domain.events.Event;
import java.util.Collection;
import java.util.Collections;
import java.util.function.Consumer;
@FunctionalInterface
public interface EventsOutChannel extends Consumer> {
default EventOutChannel toEventOutChannel() {
return event -> accept(Collections.singletonList(event));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy