GitHub
  • Preparing search index...
  • The search index is not available
Documentation
  • Documentation
  • @forgerock/sdk-store
  • wellknownSelector

Function wellknownSelector

  • wellknownSelector<S extends WellknownState>(
        wellknownUrl: string,
        state: S,
    ): undefined | WellknownResponse

    Convenience selector for any state that contains the wellknown slice.

    Unlike createWellknownSelector, this immediately evaluates the selector against the provided state rather than returning a reusable selector.

    Type Parameters

    • S extends WellknownState

    Parameters

    • wellknownUrl: string

      The well-known endpoint URL used as the cache key

    • state: S

      Any Redux state that includes the wellknown slice

    Returns undefined | WellknownResponse

    The cached WellknownResponse or undefined if not yet fetched

    • Defined in packages/sdk-effects/store/src/lib/wellknown.api.ts:106

Settings

Member Visibility
GitHub
Documentation
  • Loading...