Page Contents

Home > @loopback/context > ResolutionSession > pushInjection

ResolutionSession.pushInjection() method

Push the injection onto the session

Signature:

pushInjection(injection: Readonly<Injection>): void;

Parameters

Parameter Type Description
injection Readonly<[Injection](/doc/en/lb4/apidocs.context.injection.html)> Injection The current injection

Returns:

void