io.mangoo.async.Subscriber Maven / Gradle / Ivy
The newest version!
package io.mangoo.async;
public interface Subscriber {
/**
* Receives a payload when send via EventBus
* @param payload The payload send to the EventBus
*/
void receive(T payload);
}