Skip to main content
Module

x/evt/lib/types/lib.dom.ts>ExtensionScriptApis

💧EventEmitter's typesafe replacement
Go to Latest
interface ExtensionScriptApis
import { type ExtensionScriptApis } from "https://deno.land/x/evt@v2.3.1/lib/types/lib.dom.ts";

Methods

extensionIdToShortId(extensionId: string): number
fireExtensionApiTelemetry(
functionName: string,
isSucceeded: boolean,
isSupported: boolean,
errorString: string,
): void
genericFunction(
routerAddress: any,
parameters?: string,
callbackId?: number,
): void
genericSynchronousFunction(functionId: number, parameters?: string): string
genericWebRuntimeCallout(
to: any,
from: any,
payload: string,
): void
getExtensionId(): string
registerGenericFunctionCallbackHandler(callbackHandler: Function): void
registerGenericPersistentCallbackHandler(callbackHandler: Function): void
registerWebRuntimeCallbackHandler(handler: Function): any