io.activej.async.function.CallbackFunction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of activej-promise Show documentation
Show all versions of activej-promise Show documentation
A convenient way to organize asynchronous code.
Promises are a faster and more efficient version of JavaScript's Promise and Java's CompletionStage's.
package io.activej.async.function;
import io.activej.promise.SettableCallback;
@FunctionalInterface
public interface CallbackFunction extends CallbackFunctionEx {
@Override
void apply(T t, SettableCallback cb);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy