---
lang: en
title: 'API docs: context.resolutionsession.popinjection'
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.resolutionsession.popinjection.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/context](./context.md) &gt; [ResolutionSession](./context.resolutionsession.md) &gt; [popInjection](./context.resolutionsession.popinjection.md)

## ResolutionSession.popInjection() method

Pop the last injection

<b>Signature:</b>

```typescript
popInjection(): Readonly<Injection<any>>;
```
<b>Returns:</b>

Readonly&lt;[Injection](./context.injection.md)<!-- -->&lt;any&gt;&gt;


