Page Contents
Home > @loopback/context > InvocationSource
InvocationSource interface
An interface to represent the caller of the invocation
Signature:
export interface InvocationSource<T = unknown>
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| [type](/doc/en/lb4/apidocs.context.invocationsource.type.html) | `readonly` | string | Type of the invoker, such as `proxy` and `route` |
| [value](/doc/en/lb4/apidocs.context.invocationsource.value.html) | `readonly` | T | Metadata for the source, such as `ResolutionSession` |