Skip to main content
Module

x/alosaur/src/injection/index.ts>predicateAwareClassFactory

Alosaur - Deno web framework with many decorators
Very Popular
Go to Latest
function predicateAwareClassFactory
import { predicateAwareClassFactory } from "https://deno.land/x/alosaur@v0.5.1/src/injection/index.ts";

Parameters

predicate: (dependencyContainer: DependencyContainer) => boolean
trueConstructor: constructor<T>
falseConstructor: constructor<T>
optional
useCaching = [UNSUPPORTED]