• Preparing search index...
  • The search index is not available
@honua/sdk-js
  • @honua/sdk-js
  • honua
  • reduce

Function reduce

  • reduce(state, intent): ReducerResult
  • Apply one intent. Returns the next state plus the set of slices that actually changed (by reference). Callers compare the set rather than re-deriving it so that "no-op" intents (e.g. setting the same sort) do not wake listeners.

    Parameters

    • state: ExplorationState
    • intent: ExplorationIntent

    Returns ReducerResult

    • Defined in work/honua-sdk-js/honua-sdk-js/src/exploration/reducer.ts:34

Settings

Member Visibility
@honua/sdk-js
  • Loading...

Generated using TypeDoc