Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.AudioWorkletNode

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.AudioWorkletNode
implements AudioNode
import { type dom } from "https://deno.land/x/evt@v2.4.17/lib/types/index.ts";
const { AudioWorkletNode } = dom;

Properties

onprocessorerror: ((this: AudioWorkletNode, ev: Event) => any) | null
readonly
parameters: AudioParamMap
readonly
port: MessagePort

Methods

addEventListener<K extends keyof AudioWorkletNodeEventMap>(
type: K,
listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
removeEventListener<K extends keyof AudioWorkletNodeEventMap>(
type: K,
listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void