@vertx/core
Advanced tools
Comparing version 3.5.3 to 3.5.4
{ | ||
"description" : "Generated Eclipse Vert.x bindings for 'vertx-core'", | ||
"version" : "3.5.3", | ||
"version" : "3.5.4", | ||
"license" : "Apache Software License 2.0", | ||
@@ -8,3 +8,3 @@ "maven" : { | ||
"artifactId" : "vertx-core", | ||
"version" : "3.5.3" | ||
"version" : "3.5.4" | ||
}, | ||
@@ -11,0 +11,0 @@ "name" : "@vertx/core", |
import { Vertx } from './index'; | ||
declare function setTimeout(callback: (...args: any[]) => void, ms: number, ...args: any[]): Number; | ||
declare function clearTimeout(timeoutId: Number); | ||
declare function clearTimeout(timeoutId: Number): any; | ||
declare function setInterval(callback: (...args: any[]) => void, ms: number, ...args: any[]): Number; | ||
declare function clearInterval(intervalId: Number); | ||
declare function clearInterval(intervalId: Number): any; | ||
declare function setImmediate(callback: (...args: any[]) => void, ...args: any[]): any; | ||
@@ -17,12 +17,62 @@ | ||
declare const Java: { | ||
extend(type: any, impl?: object): any | ||
super(variable: object): any | ||
from(value: any): any | ||
to(jsValue: any, javaType: any): any | ||
type(className: string): any | ||
/** | ||
* The type function loads the specified Java class and provides it as an object. | ||
* | ||
* Fields of this object can be read directly from it, and new instances can be created with the | ||
* JavaScript new keyword. | ||
* | ||
* @param className | ||
*/ | ||
type(className: string): any; | ||
/** | ||
* The from function creates a shallow copy of the Java datastructure (Array, List) as a JavaScript array. | ||
* | ||
* In many cases, this is not necessary, you can typically use the Java datastructure directly | ||
* from JavaScript. | ||
* | ||
* @param value | ||
*/ | ||
from(value: any): any; | ||
/** | ||
* The to function converts the argument to a Java dataype. | ||
* | ||
* When no toType is provided, Object[] is assumed. | ||
* | ||
* @param jsValue | ||
* @param javaType | ||
*/ | ||
to(jsValue: any, javaType: any): any; | ||
/** | ||
* The isJavaObject method returns whether obj is an object of the Java language. | ||
* | ||
* It returns false for native JavaScript objects, as well as for objects of other polyglot languages. | ||
* | ||
* @param obj | ||
*/ | ||
isJavaObject(obj: any): boolean; | ||
/** | ||
* The isType method returns whether obj is an object of the Java language, | ||
* representing a Java Class instance. It returns false for all other arguments. | ||
* | ||
* @param obj | ||
*/ | ||
isType(obj: any): boolean; | ||
/** | ||
* The typeName method returns the Java Class name of obj. obj is expected to represent | ||
* a Java Class instance, i.e., isType(obj) should return true; otherwise, undefined is returned. | ||
* | ||
* @param obj | ||
*/ | ||
typeName(obj: any): string | undefined; | ||
}; | ||
declare const process: { | ||
env: Map<String, String>; | ||
env: { [key:string]: string }; | ||
pid: String; | ||
engine: String; | ||
exit: (exitCode: Number) => void; | ||
@@ -29,0 +79,0 @@ nextTick: (callback: (...args: any[]) => void) => void; |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
413969
10941