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

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

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

Properties

onended: ((this: AudioScheduledSourceNode, ev: Event) => any) | null

Methods

start(when?: number): void
stop(when?: number): void
addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(
type: K,
listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
removeEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(
type: K,
listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void