Skip to main content
Module

x/momentum/core/module-ref.ts>ModuleRef#resolve

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
method ModuleRef.prototype.resolve
import { ModuleRef } from "https://deno.land/x/momentum@v0.8.2/core/module-ref.ts";

Resolves an instance of @see TReturn

Type Parameters

optional
TReturn = unknown

Parameters

identifier: TypeIdentifier

type identifer to create an instance of

Resolves an instance of @see TReturn using a custom @see DiCache

Type Parameters

optional
TReturn = unknown

Parameters

identifier: TypeIdentifier

Type identifer to create an instance of

cache: DiCache

The @see DiCache to use for resolution