Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.30.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