Module

x/aleph/server/helpers.ts>globalIt

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

Stores and returns the fn output in the globalThis object

Parameters

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

Returns

Promise<T>