Skip to content

Module: core::InjectionReceiver

Jovan Gerodetti edited this page Jul 3, 2018 · 3 revisions

InjectionReceiver

exported: default
kind: object
declaration: const

Manages the injection of module dependencies.

Properties

🚫 _injectedObjects

Type: WeakMap<*, *>
kind: value

Methods

constructor() => {InjectionReceiver}

kind: function

inject(original, injected) => {undefined}

kind: function

Injects a replacement dependency into the module that owns this InjectionReceiver.

Name Type Description
original * the original value
injected * the replacement value

injected(object) => {*}

kind: function

returns the injected value for an original value

Name Type Description
object * the original value
Clone this wiki locally