(
resolutionCtx: ResolutionContext,
value: ValueOrPromise<V>,
)
| 817 | } |
| 818 | |
| 819 | private static valueOrProxy<V>( |
| 820 | resolutionCtx: ResolutionContext, |
| 821 | value: ValueOrPromise<V>, |
| 822 | ) { |
| 823 | if (!resolutionCtx.options.asProxyWithInterceptors) return value; |
| 824 | return createInterceptionProxyFromInstance( |
| 825 | value, |
| 826 | resolutionCtx.context, |
| 827 | resolutionCtx.options.session, |
| 828 | ); |
| 829 | } |
| 830 | |
| 831 | /** |
| 832 | * Bind the key to a value computed by a Provider. |
no test coverage detected