Page Contents

Home > @loopback/context > ValueFactory

ValueFactory type

A factory function for toDynamicValue

Signature:

export type ValueFactory<T = unknown> = (resolutionCtx: ResolutionContext) => ValueOrPromise<T | undefined>;

References: ResolutionContext, ValueOrPromise