BITFIBERAngular
NgStoreAbout
GitHubGitHub
  • NgStore Intro
  • Emitters
  • Signal States
  • Groups
  • Data Sources
  • Installation
  • Reference
    • NgStore
      • initialize
      • complete
      • markAsReady
      • unregisterOnDestroy
    • signalState
    • SignalState
      • $
      • initialize
      • complete
      • manage
      • get
      • set
      • update
      • reset
      • compareBy
      • connect
      • useLazyEmission
      • useLazyEmissionOnce
      • select
      • zip
      • wait
      • receive
      • transmit
      • effect
      • tap
    • asyncSignalGroup
    • AsyncSignalGroup
      • launch
      • success
      • fail
      • finish
      • state
      • initialize
      • complete
      • useCache
    • routeGroup
    • RouteGroup
      • params
      • queryParams
      • allParams
      • fragment
      • initialize
      • complete
      • changeUrl
      • resetUrl
      • hasParams
      • hasQueryParams
      • hasAnyParams
      • hasFragment
    • RouteGroupSettings
      • initialParams
      • initialQueryParams
      • excludedParams
      • segments
      • hasFragment
      • navigationExtras
    • routeFiltersGroup
    • RouteFiltersGroup
      • filters
      • route
      • form
      • initialize
      • complete
    • RouteFiltersGroupSettings
      • controlsFlow
      • controlOperators
      • onControlChange
      • withoutRoute
    • formSource
    • FormSource
      • $
      • get
      • set
      • remove
  • Stores Comparison

On This Page

  • API
  • Example
FeedbackEdit this page
NgStoreReferenceSignalStateinitialize

initialize Method

Initiates the state.
In most cases, this method will be called automatically by a group or store managing the state, so you generally don’t need to call it manually unless you have a specific reason to do so

@returns this
The current instance of the store, allowing for method chaining

API

initialize(): this;

Example

import {signalState} from '@bitfiber/ng/rx';
 
const data = signalState<number>(10);
 
// Initialize the state
data.initialize();
$complete

Created by Oleksandr Zmanovskyi © 2023-2025.Code licensed under an Apache 2.0 License.Documentation licensed under CC BY 4.0.