public interface RunnableWithResult<T>

A Runnable like interface that can return a result possibly asynchronously

Methods

public abstract void run(SuccessCallback<T> onSuccess)Similar to the runnable interface but can return a result

Method details

run

public abstract void run(SuccessCallback<T> onSuccess)
Similar to the runnable interface but can return a result

Parameters

onSuccess SuccessCallback<T>
the result of the call