parent
ce9b1d66e1
commit
b7589e21c8
@ -1,5 +1,9 @@
|
||||
import java.util.function.Function;
|
||||
|
||||
public interface Subscriber {
|
||||
void receive(String message);
|
||||
|
||||
String toString();
|
||||
|
||||
void onReceive(Function<String, Void> callback);
|
||||
}
|
||||
|
||||
Loading…
Reference in new issue