UNPKG

@loopback/docs

Version:

Documentation files rendered at [https://loopback.io](https://loopback.io)

65 lines (34 loc) 1.16 kB
--- lang: en title: 'API docs: context.resolutionsession.pushinjection' 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.pushinjection.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; [pushInjection](./context.resolutionsession.pushinjection.md) ## ResolutionSession.pushInjection() method Push the injection onto the session **Signature:** ```typescript pushInjection(injection: Readonly<Injection>): void; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td markdown="1"> injection </td><td markdown="1"> Readonly&lt;[Injection](./context.injection.md)<!-- -->&gt; </td><td markdown="1"> Injection The current injection </td></tr> </tbody></table> **Returns:** void