-
Notifications
You must be signed in to change notification settings - Fork 1
Module: core::InjectionReceiver
Jovan Gerodetti edited this page Jul 3, 2018
·
3 revisions
exported: default
kind: object
declaration: const
Manages the injection of module dependencies.
Type: WeakMap<*, *>
kind: value
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 |
kind: function
returns the injected value for an original value
| Name | Type | Description |
|---|---|---|
| object | * | the original value |