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

org.zodiac.reactor.event.DefaultSpringAsyncEvent Maven / Gradle / Ivy

The newest version!
package org.zodiac.reactor.event;

import org.springframework.context.ApplicationEventPublisher;
import reactor.core.publisher.Mono;

public class DefaultSpringAsyncEvent extends DefaultAsyncEvent implements SpringAsyncEvent {

    public DefaultSpringAsyncEvent() {
        super();
    }

    @Override
    public Mono publish(ApplicationEventPublisher eventPublisher) {
        eventPublisher.publishEvent(this);
        return getAsync();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy