Skip to main content
Module

x/alosaur/mod.ts>FactoryProvider

Alosaur - Deno web framework with many decorators
Very Popular
Go to Latest
interface FactoryProvider
import { type FactoryProvider } from "https://deno.land/x/alosaur@v0.37.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