interface BroadcastChannel implements EventTargetimport { type BroadcastChannel } from "https://deno.land/x/windmill@v1.361.1/node_modules/evt/src/lib/types/lib.dom.ts"; Propertiesreadonlyname: stringReturns the channel name (as passed to the constructor). onmessage: ((this: BroadcastChannel, ev: MessageEvent) => any) | nullonmessageerror: ((this: BroadcastChannel, ev: MessageEvent) => any) | nullMethodsclose(): voidCloses the BroadcastChannel object, opening it up to garbage collection. postMessage(message: any): voidSends the given message to other BroadcastChannel objects set up for this channel. Messages can be structured objects, e.g. nested objects and arrays. addEventListener<K extends keyof BroadcastChannelEventMap>(type: K,listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any,options?: boolean | AddEventListenerOptions,): voidaddEventListener(type: string,listener: EventListenerOrEventListenerObject,options?: boolean | AddEventListenerOptions,): voidremoveEventListener<K extends keyof BroadcastChannelEventMap>(type: K,listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any,options?: boolean | EventListenerOptions,): voidremoveEventListener(type: string,listener: EventListenerOrEventListenerObject,options?: boolean | EventListenerOptions,): void