Promise

Package: com.eegeo.mapapi.util

Promise pattern for handling asynchronous operations.

Constructors

Promise()

Methods

void ready(T t)

Called by the operation which has computed the value requested.

Type argument Description
T t The computed value.

void then(Ready<T> f)

Sets an object which consumes the result of the asyncronous operation.

Type argument Description
Ready<T> f Object which consumes the result via its ready method.
v0.0.1349
Overview Introduction
Picking PickResult
Widgets (Optional) BlueSphere
Tag Service (Optional) TagService OnTagsLoadCompletedListener
RouteView Widget (Optional) RouteView RouteViewOptions