@angular/core

runInInjectionContext

function

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

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