Skip to main content
Module

x/alosaur/src/injection/factories/predicate-aware-class-factory.ts>default

Alosaur - Deno web framework with many decorators
Go to Latest
function default
import { default } from "https://deno.land/x/alosaur@v0.5.1/src/injection/factories/predicate-aware-class-factory.ts";

Parameters

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