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

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

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

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