docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IInstrumentedStore

    The instrumented store interface.

    Inherited Members
    IDispatchable.Dispatch(IAction)
    IDispatchable.dispatcher
    IDisposable.Dispose()
    Namespace: Unity.AppUI.Redux.DevTools
    Assembly: Unity.AppUI.Redux.dll
    Syntax
    public interface IInstrumentedStore : IStore, IDispatchable, IDisposable

    Properties

    displayName

    The display name of the store.

    Declaration
    string displayName { get; }
    Property Value
    Type Description
    string

    id

    The unique identifier of the store.

    Declaration
    string id { get; }
    Property Value
    Type Description
    string

    Methods

    GetLiftedState()

    Get the current lifted state of the store.

    Declaration
    LiftedState GetLiftedState()
    Returns
    Type Description
    LiftedState

    The current lifted state.

    Subscribe<TSelected>(Selector<LiftedState, TSelected>, Listener<TSelected>, SubscribeOptions<TSelected>)

    Subscribe to the lifted state of the store.

    Declaration
    IDisposableSubscription Subscribe<TSelected>(Selector<LiftedState, TSelected> selector, Listener<TSelected> listener, SubscribeOptions<TSelected> options = default)
    Parameters
    Type Name Description
    Selector<LiftedState, TSelected> selector

    The selector to use to select the state.

    Listener<TSelected> listener

    The listener to notify of state changes.

    SubscribeOptions<TSelected> options

    The options for the subscription.

    Returns
    Type Description
    IDisposableSubscription

    The subscription.

    Type Parameters
    Name Description
    TSelected

    The type of the selected state.

    Unsubscribe(ISubscription<LiftedState>)

    Unsubscribe from the lifted state of the store.

    Declaration
    bool Unsubscribe(ISubscription<LiftedState> subscription)
    Parameters
    Type Name Description
    ISubscription<LiftedState> subscription

    The subscription to remove.

    Returns
    Type Description
    bool

    True if the subscription was removed, false otherwise.

    Extension Methods

    StoreExtensions.Dispatch(IDispatchable, string)
    StoreExtensions.Dispatch(IDispatchable, ActionCreator)
    StoreExtensions.DispatchAsyncThunkCoroutine<TPayload, TArg>(IDispatchable, AsyncThunkAction<TPayload, TArg>, CancellationToken)
    StoreExtensions.DispatchAsyncThunk<TPayload, TArg>(IDispatchable, AsyncThunkAction<TPayload, TArg>, CancellationToken)
    StoreExtensions.Dispatch<TPayload>(IDispatchable, string, TPayload)
    StoreExtensions.Dispatch<TPayload>(IDispatchable, ActionCreator<TPayload>, TPayload)
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)