@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
29 lines (20 loc) • 1.01 kB
Markdown
---
lang: en
title: 'API docs: context.dynamicvaluebindingsource'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/context
permalink: /doc/en/lb4/apidocs.context.dynamicvaluebindingsource.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/context](./context.md) > [DynamicValueBindingSource](./context.dynamicvaluebindingsource.md)
## DynamicValueBindingSource type
Binding source for `toDynamicValue`
<b>Signature:</b>
```typescript
export declare type DynamicValueBindingSource<T> = {
type: BindingType.DYNAMIC_VALUE;
value: ValueFactory<T> | DynamicValueProviderClass<T>;
};
```
<b>References:</b> [BindingType.DYNAMIC\_VALUE](./context.bindingtype.md)<!-- -->, [ValueFactory](./context.valuefactory.md)<!-- -->, [DynamicValueProviderClass](./context.dynamicvalueproviderclass.md)