
com.sproutigy.commons.async.ExecutionCallback Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of async Show documentation
Show all versions of async Show documentation
Async Programming Toolkit for Java
The newest version!
package com.sproutigy.commons.async;
@FunctionalInterface
public interface ExecutionCallback {
enum Result {
Success,
Failure,
Cancelled;
public boolean isSuccess() {
return this == Success;
}
public boolean isCancelled() {
return this == Cancelled;
}
}
void callback(Result result, V value, Throwable cause);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy