com.github.fluorumlabs.disconnect.polymer.utils.Telemetry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of disconnect-polymer Show documentation
Show all versions of disconnect-polymer Show documentation
Polymer 3 bindings for Disconnect Zero
package com.github.fluorumlabs.disconnect.polymer.utils;
import com.github.fluorumlabs.disconnect.core.annotations.Import;
import com.github.fluorumlabs.disconnect.core.annotations.NpmPackage;
import com.github.fluorumlabs.disconnect.polymer.Polymer;
import js.lang.Any;
import org.teavm.jso.JSBody;
/**
* The interface Telemetry.
*/
@NpmPackage(
name = "@polymer/polymer",
version = Polymer.VERSION
)
@Import(
symbols = {"incrementInstanceCount", "dumpRegistrations"},
module = "@polymer/polymer/lib/utils/telemetry.js"
)
public interface Telemetry extends Any {
/**
* Increment instance count.
*/
@JSBody(
script = "incrementInstanceCount()"
)
static void incrementInstanceCount() {
throw new UnsupportedOperationException("Available only in JavaScript");
}
/**
* Logs all elements registered with an is
to the console.
*/
@JSBody(
script = "dumpRegistrations()"
)
static void dumpRegistrations() {
throw new UnsupportedOperationException("Available only in JavaScript");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy