(
resolutionCtx: Context,
options: ResolutionOptions,
value: ValueOrPromise<T>,
)
| 570 | } |
| 571 | |
| 572 | private getValueOrProxy( |
| 573 | resolutionCtx: Context, |
| 574 | options: ResolutionOptions, |
| 575 | value: ValueOrPromise<T>, |
| 576 | ): ValueOrPromise<T> { |
| 577 | const session = options.session!; |
| 578 | session.pushBinding(this); |
| 579 | return Binding.valueOrProxy( |
| 580 | { |
| 581 | context: resolutionCtx, |
| 582 | binding: this, |
| 583 | options, |
| 584 | }, |
| 585 | value, |
| 586 | ); |
| 587 | } |
| 588 | |
| 589 | /** |
| 590 | * Locate and validate the resolution context |
no test coverage detected