• Preparing search index...
  • The search index is not available
Houston Common Library
  • Houston Common Library
  • @45drives/houston-common-ui
  • wrapAction

Function wrapAction

  • wrapAction<TParams extends any[], TOk, TErr extends Error>(action: Action<TParams, TOk, TErr>): WrappedAction<TParams, TOk, TErr>
  • Make an action affect global processing state (loading spinners) and report errors as notifications

    Type Parameters

    • TParams extends any[]
    • TOk
    • TErr extends Error

    Parameters

    • action: Action<TParams, TOk, TErr>

    Returns WrappedAction<TParams, TOk, TErr>

    • Defined in houston-common-ui/dist/index.d.ts:967

Settings

Member Visibility

Theme

Official Cockpit API Documentation
Houston Common Library
  • Loading...

Generated using TypeDoc