io.datakernel.async.Callback Maven / Gradle / Ivy
package io.datakernel.async;
import org.jetbrains.annotations.Nullable;
/**
* Represents a universal Callback interface
*/
@FunctionalInterface
public interface Callback {
/**
* Performs action upon of completion of Completable computation
*/
void accept(T result, @Nullable Throwable e);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy