Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.1.1/src/injection/factories/predicate-aware-class-factory.ts";

Parameters

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