TanStackStore v0
Auto
Framework
Version
Menu
  • Home
  • Frameworks
  • Contributors
  • GitHub
  • Discord
Getting Started
  • Overview
    core
  • Installation
    core
  • Quick Start
    core
  • Quick Start
    react
API Reference
  • Core API Reference
    core
  • React Hooks
    react
Store API Reference
  • Store
    core
  • ReadonlyStore
    core
  • Atom
    core
  • AtomOptions
    core
  • BaseAtom
    core
  • InternalBaseAtom
    core
  • InternalReadonlyAtom
    core
  • InteropSubscribable
    core
  • Readable
    core
  • ReadonlyAtom
    core
  • StoreActionsApi
    core
  • Subscribable
    core
  • Subscription
    core
  • AnyAtom
    core
  • Observer
    core
  • Selection
    core
  • StoreAction
    core
  • StoreActionMap
    core
  • StoreActionsFactory
    core
  • batch
    core
  • createAsyncAtom
    core
  • createAtom
    core
  • createStore
    core
  • flush
    core
  • shallow
    core
  • toObserver
    core
  • createStoreContext
    react
  • useCreateAtom
    react
  • useCreateStore
    react
  • useSelector
    react
  • useSetValue
    react
  • useAtom
    react
  • useStoreActions
    react
  • _useStore (experimental)
    react
  • useStore (deprecated)
    react
  • UseSelectorOptions
    react
Examples
  • Simple
    react
  • Atoms
    react
  • Stores
    react
  • Store Actions
    react
  • Store Context
    react
TanStackStore v0
Auto
Framework
Version
Menu
  • Home
  • Frameworks
  • Contributors
  • GitHub
  • Discord
Getting Started
  • Overview
    core
  • Installation
    core
  • Quick Start
    core
  • Quick Start
    react
API Reference
  • Core API Reference
    core
  • React Hooks
    react
Store API Reference
  • Store
    core
  • ReadonlyStore
    core
  • Atom
    core
  • AtomOptions
    core
  • BaseAtom
    core
  • InternalBaseAtom
    core
  • InternalReadonlyAtom
    core
  • InteropSubscribable
    core
  • Readable
    core
  • ReadonlyAtom
    core
  • StoreActionsApi
    core
  • Subscribable
    core
  • Subscription
    core
  • AnyAtom
    core
  • Observer
    core
  • Selection
    core
  • StoreAction
    core
  • StoreActionMap
    core
  • StoreActionsFactory
    core
  • batch
    core
  • createAsyncAtom
    core
  • createAtom
    core
  • createStore
    core
  • flush
    core
  • shallow
    core
  • toObserver
    core
  • createStoreContext
    react
  • useCreateAtom
    react
  • useCreateStore
    react
  • useSelector
    react
  • useSetValue
    react
  • useAtom
    react
  • useStoreActions
    react
  • _useStore (experimental)
    react
  • useStore (deprecated)
    react
  • UseSelectorOptions
    react
Examples
  • Simple
    react
  • Atoms
    react
  • Stores
    react
  • Store Actions
    react
  • Store Context
    react
On this page
  • Interface: Subscribable<T>
  • Extends
  • Extended by
  • Type Parameters
  • T
  • Properties
  • subscribe
  • Overrides

Subscribable

Interface: Subscribable<T>

Defined in: types.ts:20

Extends

  • InteropSubscribable<T>

Extended by

  • Readable
  • BaseAtom
  • InternalBaseAtom

Type Parameters

T

T

Properties

subscribe

ts
subscribe: (observer) => Subscription & (next, error?, complete?) => Subscription;
subscribe: (observer) => Subscription & (next, error?, complete?) => Subscription;

Defined in: types.ts:21

Overrides

InteropSubscribable.subscribe

Edit on GitHub

On this page

  • Interface: Subscribable<T>
  • Extends
  • Extended by
  • Type Parameters
  • T
  • Properties
  • subscribe
  • Overrides
StoreActionsApi
Subscription
Our Partners
Wow, it looks like you could be our first partner for this library! Chat with us!
TanStackStart
Full-document SSR, Streaming, Server Functions, bundling and more, powered by TanStack Router and Vite - Ready to deploy to your favorite hosting provider.
TanStackRanger
Headless, lightweight, and extensible primitives for building range and multi-range sliders.