Skip to main content
Module

x/momentum/di/deferred.ts

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
File
/** * Represents an injectable that can be injected at any time, * but will not be resolved until a call is made to the value property. */export interface Deferred<T = unknown> { value(): Promise<T>;}