All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.activej.async.function.CallbackFunction Maven / Gradle / Ivy

Go to download

A convenient way to organize asynchronous code. Promises are a faster and more efficient version of JavaScript's Promise and Java's CompletionStage's.

There is a newer version: 6.0-rc2
Show newest version
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