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

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

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

Properties

readonly
caches: CacheStorage
readonly
crypto: Crypto
readonly
indexedDB: IDBFactory
readonly
origin: string
readonly
performance: Performance

Methods

atob(data: string): string
btoa(data: string): string
clearInterval(handle?: number): void
clearTimeout(handle?: number): void
createImageBitmap(image: ImageBitmapSource): Promise<ImageBitmap>
createImageBitmap(
sx: number,
sy: number,
sw: number,
sh: number,
): Promise<ImageBitmap>
fetch(input: RequestInfo, init?: RequestInit): Promise<Response>
queueMicrotask(callback: VoidFunction): void
setInterval(
handler: TimerHandler,
timeout?: number,
...args: any[],
): number
setTimeout(
handler: TimerHandler,
timeout?: number,
...args: any[],
): number