Interface Callback<T,F>

Type Parameters:
T - The type returned on success
F - The type returned on failure

public interface Callback<T,F>
A callback for any asynchronous call that can result in success or failure.