com.koushikdutta.async.future.Future Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of androidasync Show documentation
Show all versions of androidasync Show documentation
Asynchronous socket, http(s) (client+server) and websocket library for android. Based on nio, not threads.
package com.koushikdutta.async.future;
public interface Future extends Cancellable, java.util.concurrent.Future {
/**
* Set a callback to be invoked when this Future completes.
* @param callback
* @return
*/
public Future setCallback(FutureCallback callback);
}