DependencyDeclaration
Extends:
Member Summary
| Public Members | ||
| public |
dependencies: Object<string|*> A map of named dependencies. |
|
| public |
factory(dependencyValues: DependencyDeclaration): * | Promise: Function The factory function used to create the value of the dependency. |
|
| public |
getters: Object<string|Function> A map of named getters. |
|
| public |
invalidators: Object<string|Function> A map of named invalidators. |
|
| public |
listeners: Object<string|Function> A map of named change handler receivers. |
|
| public |
mergeDeps: boolean Merge all dependency types into one |
|
| public |
noCache: boolean Always call the |
|
| public |
setters: Object<string|Function> A map of named setters. |
|
| public |
strict: boolean If |
|
Public Members
public factory(dependencyValues: DependencyDeclaration): * | Promise: Function source
The factory function used to create the value of the dependency.
Return:
| * | Promise | The value of the dependency. |
public mergeDeps: boolean source
Merge all dependency types into one Object when being passed to the factory. Default: true
public noCache: boolean source
Always call the factory when calling getPath, even if there is an existing value.
public strict: boolean source
If true, the factory is NOT called until none of the dependencies are undefined.
