Assembles configuration for a dependency injection container.
+Builds a new container and resets the builder to a default state.
-The Promised container.
-Registers a constant value as a component.
-The name of the component.
-The static value to register as the component.
-provides a fluent interface.
-Determines if a named component has been added to the builder.
-The component name to check.
-Whether the component factory is present.
-Registers a component.
+Creates a new Builder.
+The logger instance.
+Builds a new container and resets the builder to a default state.
+The Promised container.
+Registers a constant value as a component.
+The name of the component.
+The static value to register as the component.
+provides a fluent interface.
+Determines if a named component has been added to the builder.
+The component name to check.
+Whether the component factory is present.
+Registers a component.
The factory parameter must be a Function that returns the component.
You can provide an async function or one that returns a Promise.
The tags parameter must be an Array of string values. There are a few
@@ -24,9 +114,56 @@
@eager - The component will be instantiated when the container is built.provides a fluent interface.
-Abandons registered components and resets the builder to a default state.
-provides a fluent interface.
+Abandons registered components and resets the builder to a default state.
+A simplistic asynchronous dependency injection container.
-A simplistic asynchronous dependency injection container.
+The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
Optionaloptions: boolean | AddEventListenerOptionsThe dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.
Optionaloptions: boolean | AddEventListenerOptionsThe dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.
Gets a named component from the container.
-The component name.
-A promise that resolves to the registered component
-Gets multiple named components from the container.
-The component names.
-A Promise that resolves to the registered components
-Gets any components registered under a specific tag.
-The tag.
-A Promise that resolves to the tagged components.
-Gets the names of all registered components.
-The registered component names.
-Checks if the container holds a named component.
+Gets a named component from the container.
+The component name.
+A promise that resolves to the registered component
+ +Gets multiple named components from the container.
+The component names.
+A Promise that resolves to the registered components
+ +Gets any components registered under a specific tag.
+The tag.
+A Promise that resolves to the tagged components.
+Gets the names of all registered components.
+The registered component names.
+Checks if the container holds a named component.
If this method returns true, invoking get with the same parameter will
not throw a RangeError.
The component name.
-Whether the component exists in the container
-The removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.
The component name.
+Whether the component exists in the container
+The removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.
Optionaloptions: boolean | EventListenerOptionsOptionaloptions: boolean | EventListenerOptionsA named object that provides a value.
-The component name.
+The tags for the component.
+Instantiates the component.
+If the factory function itself throws an Error or a rejected promise, this +result is cached and the factory will not be invoked a second time.
+The container object.
+the component as produced by the factory function.
+A simple asynchronous dependency injection container and event target.
@@ -37,4 +47,38 @@
Assembles configuration for a dependency injection container.
-