Package | Description |
---|---|
net.java.html.lib.angular.ng |
Modifier and Type | Class and Description |
---|---|
class |
IHttpPromise<T> |
Modifier and Type | Field and Description |
---|---|
Objs.Property<IPromise<T>> |
IDeferred.promise |
Objs.Property<Function.A1<? super IRequestConfig,? extends Union.A2<IRequestConfig,IPromise<IRequestConfig>>>> |
IHttpInterceptor.request |
Objs.Property<Function.A1<? super IHttpPromiseCallbackArg<?>,? extends Union.A2<IPromise<IHttpPromiseCallbackArg<?>>,IHttpPromiseCallbackArg<?>>>> |
IHttpInterceptor.response |
Objs.Property<Union.A2<Number,IPromise<Object>>> |
IRequestShortcutConfig.timeout
Timeout in milliseconds, or promise that should abort the request when resolved.
|
Modifier and Type | Method and Description |
---|---|
IPromise<Void> |
ITimeoutService.$apply() |
IPromise<Void> |
ITimeoutService.$apply(double delay) |
IPromise<Void> |
ITimeoutService.$apply(double delay,
Boolean invokeApply) |
<T> IPromise<T> |
ITimeoutService.$apply(Function.A1<? super Array<Object>,? extends T> fn,
double delay) |
<T> IPromise<T> |
ITimeoutService.$apply(Function.A1<? super Array<Object>,? extends T> fn,
double delay,
Boolean invokeApply) |
<T> IPromise<T> |
ITimeoutService.$apply(Function.A1<? super Array<Object>,? extends T> fn,
double delay,
Boolean invokeApply,
Object... args) |
<T> IPromise<T> |
IQService.$apply(Function.A1<? super IQResolveReject<T>,? extends Object> resolver) |
<T> IPromise<T> |
IQService.$apply(Function.A2<? super IQResolveReject<T>,? super IQResolveReject<Object>,? extends Object> resolver) |
IPromise<Object> |
IIntervalService.$apply(Function func,
double delay,
double count) |
IPromise<Object> |
IIntervalService.$apply(Function func,
double delay,
double count,
Boolean invokeApply) |
IPromise<Object> |
IIntervalService.$apply(Function func,
double delay,
double count,
Boolean invokeApply,
Object... args) |
IPromise<String> |
ITemplateRequestService.$apply(String tpl) |
IPromise<String> |
ITemplateRequestService.$apply(String tpl,
Boolean ignoreRequestError) |
static IPromise |
IPromise.$as(Object obj) |
<TAll> IPromise<TAll[]> |
IQService.all(IPromise<TAll>[] promises) |
<T1,T2> IPromise<Object[]> |
IQService.all(Object[] values) |
<T> IPromise<T> |
IQService.all(Objs promises) |
IPromise<T> |
IDeferred.promise() |
IPromise<Object> |
IQService.reject()
Creates a promise that is resolved as rejected with the specified reason.
|
IPromise<Object> |
IQService.reject(Object reason)
Creates a promise that is resolved as rejected with the specified reason.
|
IPromise<Void> |
IQService.resolve()
Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise.
|
<T> IPromise<T> |
IQService.resolve(IPromise<T> value)
Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise.
|
<T> IPromise<T> |
IQService.resolve(T value)
Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise.
|
<TResult> IPromise<TResult> |
IPromise.then(Function.A1<? super T,? extends Union.A2<IPromise<TResult>,TResult>> successCallback)
Regardless of when the promise was or will be resolved or rejected, then calls one of the success or error callbacks asynchronously as soon as the result is available.
|
<TResult> IPromise<TResult> |
IPromise.then(Function.A1<? super T,? extends Union.A2<IPromise<TResult>,TResult>> successCallback,
Function.A1<? super Object,? extends Object> errorCallback)
Regardless of when the promise was or will be resolved or rejected, then calls one of the success or error callbacks asynchronously as soon as the result is available.
|
<TResult> IPromise<TResult> |
IPromise.then(Function.A1<? super T,? extends Union.A2<IPromise<TResult>,TResult>> successCallback,
Function.A1<? super Object,? extends Object> errorCallback,
Function.A1<? super Object,? extends Object> notifyCallback)
Regardless of when the promise was or will be resolved or rejected, then calls one of the success or error callbacks asynchronously as soon as the result is available.
|
IPromise<Void> |
IQService.when()
Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise.
|
<T> IPromise<T> |
IQService.when(IPromise<T> value)
Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise.
|
<T> IPromise<T> |
IQService.when(T value)
Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise.
|
Modifier and Type | Method and Description |
---|---|
Function.A2<? super Object,? super Object,? extends IPromise<Object>> |
IAsyncModelValidators.$get(String index) |
Function.A1<? super IRequestConfig,? extends Union.A2<IRequestConfig,IPromise<IRequestConfig>>> |
IHttpInterceptor.request() |
Function.A1<? super IHttpPromiseCallbackArg<?>,? extends Union.A2<IPromise<IHttpPromiseCallbackArg<?>>,IHttpPromiseCallbackArg<?>>> |
IHttpInterceptor.response() |
Modifier and Type | Method and Description |
---|---|
<TAll> IPromise<TAll[]> |
IQService.all(IPromise<TAll>[] promises) |
Boolean |
ITimeoutService.cancel(IPromise<Object> promise) |
Boolean |
IIntervalService.cancel(IPromise<Object> promise) |
void |
IDeferred.resolve(IPromise<T> value) |
<T> IPromise<T> |
IQService.resolve(IPromise<T> value)
Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise.
|
<T> IPromise<T> |
IQService.when(IPromise<T> value)
Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise.
|
Modifier and Type | Method and Description |
---|---|
<TResult> IPromise<TResult> |
IPromise.then(Function.A1<? super T,? extends Union.A2<IPromise<TResult>,TResult>> successCallback)
Regardless of when the promise was or will be resolved or rejected, then calls one of the success or error callbacks asynchronously as soon as the result is available.
|
<TResult> IPromise<TResult> |
IPromise.then(Function.A1<? super T,? extends Union.A2<IPromise<TResult>,TResult>> successCallback,
Function.A1<? super Object,? extends Object> errorCallback)
Regardless of when the promise was or will be resolved or rejected, then calls one of the success or error callbacks asynchronously as soon as the result is available.
|
<TResult> IPromise<TResult> |
IPromise.then(Function.A1<? super T,? extends Union.A2<IPromise<TResult>,TResult>> successCallback,
Function.A1<? super Object,? extends Object> errorCallback,
Function.A1<? super Object,? extends Object> notifyCallback)
Regardless of when the promise was or will be resolved or rejected, then calls one of the success or error callbacks asynchronously as soon as the result is available.
|
Copyright © 2018. All rights reserved.