@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
92 lines (45 loc) • 1.35 kB
Markdown
---
lang: en
title: 'API docs: context.invocationsource'
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.invocationsource.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/context](./context.md) > [InvocationSource](./context.invocationsource.md)
## InvocationSource interface
An interface to represent the caller of the invocation
**Signature:**
```typescript
export interface InvocationSource<T = unknown>
```
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
[type](./context.invocationsource.type.md)
</td><td markdown="1">
`readonly`
</td><td markdown="1">
string
</td><td markdown="1">
Type of the invoker, such as `proxy` and `route`
</td></tr>
<tr><td markdown="1">
[value](./context.invocationsource.value.md)
</td><td markdown="1">
`readonly`
</td><td markdown="1">
T
</td><td markdown="1">
Metadata for the source, such as `ResolutionSession`
</td></tr>
</tbody></table>