xInjection - v2.1.2
    Preparing search index...

    Class DynamicModuleDefinition

    Implements

    Index

    Constructors

    Properties

    event$: Signal<DefinitionEvent> = ...
    moduleDef: ModuleDefinition<true>

    Accessors

    • get subscribe(): (
          callback: SignalCallback<DefinitionEvent>,
          invokeImmediately?: boolean,
      ) => () => void

      Can be used to subscribe in real-time to the definition changes.

      Returns (
          callback: SignalCallback<DefinitionEvent>,
          invokeImmediately?: boolean,
      ) => () => void

        • (
              callback: SignalCallback<DefinitionEvent>,
              invokeImmediately?: boolean,
          ): () => void
        • Can be used to subscribe to the emitted values of this Signal.

          Parameters

          • callback: SignalCallback<DefinitionEvent>

            The callback which will be invoked when a new value is emitted.

          • OptionalinvokeImmediately: boolean

            When set to true it'll invoke the provided callback immediately with the latest value available. (defaults to false)

          Returns () => void

    Methods