Skip to main content
Module

x/momentum/platform-oak/deps.ts>Deferred

Momentum is an open-source framework for building server-side Deno applications in TypeScript. It provides the paradigms and design patterns to guide developers to create robust, scalable, and enterprise-grade applications.
Latest
interface Deferred
import { type Deferred } from "https://deno.land/x/momentum@v0.8.2/platform-oak/deps.ts";

Represents an injectable that can be injected at any time, but will not be resolved until a call is made to the value property.

Type Parameters

optional
T = unknown

Methods

value(): Promise<T>