We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 267b443 commit 000eb42Copy full SHA for 000eb42
src/main/java/org/comroid/api/func/util/Event.java
@@ -337,7 +337,7 @@ private <I> Bus<T> setDependent(
337
return registerTargetListener(target, null);
338
}
339
340
- public Listener<T> subscribeData(final @NotNull Consumer<T> action) {
+ public Listener<T> subscribeData(final @NotNull Consumer<? super T> action) {
341
return subscribe(e -> action.accept(e.getData()));
342
343
0 commit comments