ReadonlysubscribeCan be used to subscribe to the emitted values of this Signal.
The callback which will be invoked when a new value is emitted.
OptionalinvokeImmediately: booleanWhen set to true it'll invoke the provided callback immediately with the latest value available. (defaults to false)
Can be used to import a new moduleOrBlueprint into the current Module.
Either the Module or the ModuleBlueprint to be imported.
OptionaladdToExports: booleanWhen set to true it'll also export the moduleOrBlueprint. (defaults to false)
The Provider to add.
OptionaladdToExports: booleanWhen set to true it'll also export the module. (defaults to false)
Can be used to remove a Module or Provider from
the exports definition of this module.
Note: Consumers which already consumed the exportDefinition may still old a reference onto it.
The ExportDefinition to be removed.
Can be used to remove an import from the current Module.
It'll also automatically remove it from the exports definition.
Note: You can always add it back with the addImport method.
Either the module reference itself or its id.
Can be used to remove a provider from the current Module's container.
It'll also automatically remove it from the exports definition.
Note: You can always add it back with the addProvider method.
Either the provider reference itself or its { provide } property value.
Can be used to subscribe in real-time to the definition changes.