-
public class BasePaginatedQuery.ResultRequest<T>Wraps a Http.Request
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classBasePaginatedQuery.ResultRequest.FailedA ResultRequest that has already failed due to a previous condition.Useful when a method must return a ResultRequest but fails before it can make the "real"one. Such errors are reported as thrown AblyExceptions in sync scenarios, and asCallback.onError calls in async ones. This class helps converting from plain exceptionsto cover the async case too.
-
Method Summary
Modifier and Type Method Description PaginatedResult<T>sync()voidasync(Callback<AsyncPaginatedResult<T>> callback)-
-
Method Detail
-
sync
PaginatedResult<T> sync()
-
async
void async(Callback<AsyncPaginatedResult<T>> callback)
-
-
-
-