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

x/aleph/server/helpers.ts>globalIt

The Full-stack Framework in Deno.
Very Popular
Go to Latest
function globalIt
import { globalIt } from "https://deno.land/x/aleph@1.0.0-beta.42/server/helpers.ts";

Stores and returns the fn output in the globalThis object.

Parameters

name: string
fn: () => Promise<T>

Returns

Promise<T>