fr.lteconsulting.angular2gwt.client.interop.promise.Resolver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of angular2-gwt Show documentation
Show all versions of angular2-gwt Show documentation
Allows to develop Angular 2 applications with GWT
package fr.lteconsulting.angular2gwt.client.interop.promise;
import jsinterop.annotations.JsFunction;
@JsFunction
@FunctionalInterface
public interface Resolver
{
/**
*
* @param nullOrValueOrPromise can be either null, a T value or a Promise
*/
void resolve( Object nullOrValueOrPromise );
/**
* Ideally would have this, but it is prevented by the GWT compiler :
*
* void resolve();
* void resolve( T value );
* void resolve( Promise promise );
*/
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy