Module

x/evt/lib/index.ts

šŸ’§EventEmitter's typesafe replacement
Go to Latest
interface dom.ExtensionScriptApis
import { type dom } from "https://deno.land/x/evt@v2.3.1/lib/index.ts";
const { ExtensionScriptApis } = dom;

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