All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.java.html.lib.angular.ng.IQService Maven / Gradle / Ivy

package net.java.html.lib.angular.ng;
public class IQService extends net.java.html.lib.Objs {
  protected IQService(net.java.html.lib.Objs.Constructor c, java.lang.Object js) {
    super(c, js);
  }
  private static final class $Constructor extends net.java.html.lib.Objs.Constructor {
    $Constructor() {
      super(IQService.class);
    }
    @Override
    public IQService create(java.lang.Object obj) {
      return obj == null ? null : new IQService(this, obj);
    }
  };
  private static final $Constructor $AS = new $Constructor();
  public static IQService $as(java.lang.Object obj) {
    return $AS.create(obj);
  }
  // ConstructSignature: {"children":[],"kind":"ConstructSignature","comment":null,"name":null,"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"IPromise","right":[]},"type":[],"types":[],"typeArguments":[{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"T","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"text":null,"declarationList":null,"parameters":[{"name":{"kind":"Identifier","text":"resolver","right":[]},"type":{"kind":"FunctionType","text":null,"typeName":null,"type":[{"kind":"AnyKeyword","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"types":[],"typeArguments":[],"parameters":[{"name":{"kind":"Identifier","text":"resolve","right":[]},"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"IQResolveReject","right":[]},"type":[],"types":[],"typeArguments":[{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"T","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null}],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null}],"typeParameters":[{"children":[],"kind":"TypeParameter","comment":null,"name":{"kind":"Identifier","text":"T","right":[]},"type":null,"text":null,"declarationList":null,"parameters":[],"typeParameters":[],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]}],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]}
  // ConstructSignature: {"children":[],"kind":"ConstructSignature","comment":null,"name":null,"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"IPromise","right":[]},"type":[],"types":[],"typeArguments":[{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"T","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"text":null,"declarationList":null,"parameters":[{"name":{"kind":"Identifier","text":"resolver","right":[]},"type":{"kind":"FunctionType","text":null,"typeName":null,"type":[{"kind":"AnyKeyword","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"types":[],"typeArguments":[],"parameters":[{"name":{"kind":"Identifier","text":"resolve","right":[]},"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"IQResolveReject","right":[]},"type":[],"types":[],"typeArguments":[{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"T","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null},{"name":{"kind":"Identifier","text":"reject","right":[]},"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"IQResolveReject","right":[]},"type":[],"types":[],"typeArguments":[{"kind":"AnyKeyword","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null}],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null}],"typeParameters":[{"children":[],"kind":"TypeParameter","comment":null,"name":{"kind":"Identifier","text":"T","right":[]},"type":null,"text":null,"declarationList":null,"parameters":[],"typeParameters":[],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]}],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]}
  public  net.java.html.lib.angular.ng.IPromise $apply(net.java.html.lib.Function.A1,? extends java.lang.Object> resolver) {
    return (net.java.html.lib.angular.ng.IPromise)net.java.html.lib.angular.ng.IPromise.$as($Typings$.$apply$447($js(this), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(resolver, new Class[] {net.java.html.lib.angular.ng.IQResolveReject.class}))));
  }
  // CallSignature: {"children":[],"kind":"CallSignature","comment":null,"name":null,"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"IPromise","right":[]},"type":[],"types":[],"typeArguments":[{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"T","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"text":null,"declarationList":null,"parameters":[{"name":{"kind":"Identifier","text":"resolver","right":[]},"type":{"kind":"FunctionType","text":null,"typeName":null,"type":[{"kind":"AnyKeyword","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"types":[],"typeArguments":[],"parameters":[{"name":{"kind":"Identifier","text":"resolve","right":[]},"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"IQResolveReject","right":[]},"type":[],"types":[],"typeArguments":[{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"T","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null}],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null}],"typeParameters":[{"children":[],"kind":"TypeParameter","comment":null,"name":{"kind":"Identifier","text":"T","right":[]},"type":null,"text":null,"declarationList":null,"parameters":[],"typeParameters":[],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]}],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]}
  public  net.java.html.lib.angular.ng.IPromise $apply(net.java.html.lib.Function.A2,? super net.java.html.lib.angular.ng.IQResolveReject,? extends java.lang.Object> resolver) {
    return (net.java.html.lib.angular.ng.IPromise)net.java.html.lib.angular.ng.IPromise.$as($Typings$.$apply$448($js(this), net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(resolver, new Class[] {net.java.html.lib.angular.ng.IQResolveReject.class, net.java.html.lib.angular.ng.IQResolveReject.class}))));
  }
  // CallSignature: {"children":[],"kind":"CallSignature","comment":null,"name":null,"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"IPromise","right":[]},"type":[],"types":[],"typeArguments":[{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"T","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"text":null,"declarationList":null,"parameters":[{"name":{"kind":"Identifier","text":"resolver","right":[]},"type":{"kind":"FunctionType","text":null,"typeName":null,"type":[{"kind":"AnyKeyword","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"types":[],"typeArguments":[],"parameters":[{"name":{"kind":"Identifier","text":"resolve","right":[]},"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"IQResolveReject","right":[]},"type":[],"types":[],"typeArguments":[{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"T","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null},{"name":{"kind":"Identifier","text":"reject","right":[]},"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"IQResolveReject","right":[]},"type":[],"types":[],"typeArguments":[{"kind":"AnyKeyword","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null}],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null}],"typeParameters":[{"children":[],"kind":"TypeParameter","comment":null,"name":{"kind":"Identifier","text":"T","right":[]},"type":null,"text":null,"declarationList":null,"parameters":[],"typeParameters":[],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]}],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]}
  // ConstructSignature: {"children":[],"kind":"ConstructSignature","comment":null,"name":null,"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"IPromise","right":[]},"type":[],"types":[],"typeArguments":[{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"T","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"text":null,"declarationList":null,"parameters":[{"name":{"kind":"Identifier","text":"resolver","right":[]},"type":{"kind":"FunctionType","text":null,"typeName":null,"type":[{"kind":"AnyKeyword","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"types":[],"typeArguments":[],"parameters":[{"name":{"kind":"Identifier","text":"resolve","right":[]},"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"IQResolveReject","right":[]},"type":[],"types":[],"typeArguments":[{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"T","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null}],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null}],"typeParameters":[{"children":[],"kind":"TypeParameter","comment":null,"name":{"kind":"Identifier","text":"T","right":[]},"type":null,"text":null,"declarationList":null,"parameters":[],"typeParameters":[],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]}],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]}
  // ConstructSignature: {"children":[],"kind":"ConstructSignature","comment":null,"name":null,"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"IPromise","right":[]},"type":[],"types":[],"typeArguments":[{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"T","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"text":null,"declarationList":null,"parameters":[{"name":{"kind":"Identifier","text":"resolver","right":[]},"type":{"kind":"FunctionType","text":null,"typeName":null,"type":[{"kind":"AnyKeyword","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"types":[],"typeArguments":[],"parameters":[{"name":{"kind":"Identifier","text":"resolve","right":[]},"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"IQResolveReject","right":[]},"type":[],"types":[],"typeArguments":[{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"T","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null},{"name":{"kind":"Identifier","text":"reject","right":[]},"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"IQResolveReject","right":[]},"type":[],"types":[],"typeArguments":[{"kind":"AnyKeyword","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null}],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null}],"typeParameters":[{"children":[],"kind":"TypeParameter","comment":null,"name":{"kind":"Identifier","text":"T","right":[]},"type":null,"text":null,"declarationList":null,"parameters":[],"typeParameters":[],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]}],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]}
  // skipping MethodKey{name={"kind":"FirstTypeNode","text":"$apply","right":[]}, parameters=[net.java.html.lib.Function.A1]}
  // CallSignature: {"children":[],"kind":"CallSignature","comment":null,"name":null,"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"IPromise","right":[]},"type":[],"types":[],"typeArguments":[{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"T","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"text":null,"declarationList":null,"parameters":[{"name":{"kind":"Identifier","text":"resolver","right":[]},"type":{"kind":"FunctionType","text":null,"typeName":null,"type":[{"kind":"AnyKeyword","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"types":[],"typeArguments":[],"parameters":[{"name":{"kind":"Identifier","text":"resolve","right":[]},"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"IQResolveReject","right":[]},"type":[],"types":[],"typeArguments":[{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"T","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null}],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null}],"typeParameters":[{"children":[],"kind":"TypeParameter","comment":null,"name":{"kind":"Identifier","text":"T","right":[]},"type":null,"text":null,"declarationList":null,"parameters":[],"typeParameters":[],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]}],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]}
  // skipping MethodKey{name={"kind":"FirstTypeNode","text":"$apply","right":[]}, parameters=[net.java.html.lib.Function.A2]}
  // CallSignature: {"children":[],"kind":"CallSignature","comment":null,"name":null,"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"IPromise","right":[]},"type":[],"types":[],"typeArguments":[{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"T","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"text":null,"declarationList":null,"parameters":[{"name":{"kind":"Identifier","text":"resolver","right":[]},"type":{"kind":"FunctionType","text":null,"typeName":null,"type":[{"kind":"AnyKeyword","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"types":[],"typeArguments":[],"parameters":[{"name":{"kind":"Identifier","text":"resolve","right":[]},"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"IQResolveReject","right":[]},"type":[],"types":[],"typeArguments":[{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"T","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null},{"name":{"kind":"Identifier","text":"reject","right":[]},"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"IQResolveReject","right":[]},"type":[],"types":[],"typeArguments":[{"kind":"AnyKeyword","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null}],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null}],"typeParameters":[{"children":[],"kind":"TypeParameter","comment":null,"name":{"kind":"Identifier","text":"T","right":[]},"type":null,"text":null,"declarationList":null,"parameters":[],"typeParameters":[],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]}],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]}
  public  net.java.html.lib.angular.ng.IPromise all(java.lang.Object[] values) {
    return (net.java.html.lib.angular.ng.IPromise)net.java.html.lib.angular.ng.IPromise.$as($Typings$.all$451($js(this), values));
  }
  public  net.java.html.lib.angular.ng.IPromise all(net.java.html.lib.Objs promises) {
    return (net.java.html.lib.angular.ng.IPromise)net.java.html.lib.angular.ng.IPromise.$as($Typings$.all$452($js(this), /* TypeLiteral*/$js(promises)));
  }
  public  net.java.html.lib.angular.ng.IPromise all(net.java.html.lib.angular.ng.IPromise[] promises) {
    return (net.java.html.lib.angular.ng.IPromise)net.java.html.lib.angular.ng.IPromise.$as($Typings$.all$453($js(this), /* ArrayType*/$js(promises)));
  }
  /**
  * Creates a Deferred object which represents a task which will finish in the future.
  */
  public  net.java.html.lib.angular.ng.IDeferred defer() {
    return (net.java.html.lib.angular.ng.IDeferred)net.java.html.lib.angular.ng.IDeferred.$as($Typings$.defer$454($js(this)));
  }
  /**
  * Creates a promise that is resolved as rejected with the specified reason. This api should be used to forward rejection in a chain of promises. If you are dealing with the last promise in a promise chain, you don't need to worry about it.
  *
  * When comparing deferreds/promises to the familiar behavior of try/catch/throw, think of reject as the throw keyword in JavaScript. This also means that if you "catch" an error via a promise error callback and you want to forward the error to the promise derived from the current promise, you have to "rethrow" the error by returning a rejection constructed via reject.
  *
  * @param reason Constant, message, exception or an object representing the rejection reason.
  */
  public net.java.html.lib.angular.ng.IPromise reject(java.lang.Object reason) {
    return (net.java.html.lib.angular.ng.IPromise)net.java.html.lib.angular.ng.IPromise.$as($Typings$.reject$455($js(this), /* AnyKeyword*/$js(reason)));
  }
  /**
  * Creates a promise that is resolved as rejected with the specified reason. This api should be used to forward rejection in a chain of promises. If you are dealing with the last promise in a promise chain, you don't need to worry about it.
  *
  * When comparing deferreds/promises to the familiar behavior of try/catch/throw, think of reject as the throw keyword in JavaScript. This also means that if you "catch" an error via a promise error callback and you want to forward the error to the promise derived from the current promise, you have to "rethrow" the error by returning a rejection constructed via reject.
  *
  * @param reason Constant, message, exception or an object representing the rejection reason.
  */
  public net.java.html.lib.angular.ng.IPromise reject() {
    return (net.java.html.lib.angular.ng.IPromise)net.java.html.lib.angular.ng.IPromise.$as($Typings$.reject$456($js(this)));
  }
  /**
  * Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise. This is useful when you are dealing with an object that might or might not be a promise, or if the promise comes from a source that can't be trusted.
  */
  public net.java.html.lib.angular.ng.IPromise resolve() {
    return (net.java.html.lib.angular.ng.IPromise)net.java.html.lib.angular.ng.IPromise.$as($Typings$.resolve$457($js(this)));
  }
  /**
  * Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise. This is useful when you are dealing with an object that might or might not be a promise, or if the promise comes from a source that can't be trusted.
  *
  * @param value Value or a promise
  */
  public  net.java.html.lib.angular.ng.IPromise resolve(net.java.html.lib.angular.ng.IPromise value) {
    return (net.java.html.lib.angular.ng.IPromise)net.java.html.lib.angular.ng.IPromise.$as($Typings$.resolve$458($js(this), /* UnionType*/$js(value)));
  }
  /**
  * Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise. This is useful when you are dealing with an object that might or might not be a promise, or if the promise comes from a source that can't be trusted.
  *
  * @param value Value or a promise
  */
  public  net.java.html.lib.angular.ng.IPromise resolve(T value) {
    return (net.java.html.lib.angular.ng.IPromise)net.java.html.lib.angular.ng.IPromise.$as($Typings$.resolve$458($js(this), /* UnionType*/$js(value)));
  }
  /**
  * Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise. This is useful when you are dealing with an object that might or might not be a promise, or if the promise comes from a source that can't be trusted.
  */
  public net.java.html.lib.angular.ng.IPromise when() {
    return (net.java.html.lib.angular.ng.IPromise)net.java.html.lib.angular.ng.IPromise.$as($Typings$.when$459($js(this)));
  }
  /**
  * Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise. This is useful when you are dealing with an object that might or might not be a promise, or if the promise comes from a source that can't be trusted.
  *
  * @param value Value or a promise
  */
  public  net.java.html.lib.angular.ng.IPromise when(net.java.html.lib.angular.ng.IPromise value) {
    return (net.java.html.lib.angular.ng.IPromise)net.java.html.lib.angular.ng.IPromise.$as($Typings$.when$460($js(this), /* UnionType*/$js(value)));
  }
  /**
  * Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise. This is useful when you are dealing with an object that might or might not be a promise, or if the promise comes from a source that can't be trusted.
  *
  * @param value Value or a promise
  */
  public  net.java.html.lib.angular.ng.IPromise when(T value) {
    return (net.java.html.lib.angular.ng.IPromise)net.java.html.lib.angular.ng.IPromise.$as($Typings$.when$460($js(this), /* UnionType*/$js(value)));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy