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

x/dwm/src/platform/glfw/window.ts>mainloop

Deno Window Manager: Cross-platform window creation and management
Go to Latest
function mainloop
import { mainloop } from "https://deno.land/x/dwm@0.3.2/src/platform/glfw/window.ts";

Parameters

optional
cb: (hrtime: number) => unknown
optional
loop = [UNSUPPORTED]
optional
wait = [UNSUPPORTED]

Returns

Promise<never>