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

com.github.fluorumlabs.disconnect.polymer.utils.Telemetry Maven / Gradle / Ivy

There is a newer version: 0.1.0-alpha2
Show newest version
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