Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/alosaur/mod.ts>FactoryProvider

Alosaur - Deno web framework with many decorators
Go to Latest
interface FactoryProvider
import { type FactoryProvider } from "https://deno.land/x/alosaur@v0.32.0/mod.ts";

Provide a dependency using a factory. Unlike the other providers, this does not support instance caching. If you need instance caching, your factory method must implement it.

Properties

useFactory: (dependencyContainer: DependencyContainer) => T