@angular/core

runInInjectionContext

function

Runs the given function in the context of the given Injector.

  
    function runInInjectionContext(  injector: Injector,  fn: () => ReturnT): ReturnT;
  
  
Jump to details