Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-6961

Add finally callback to the error handling high order component

XMLWordPrintable

    • Not defined

      Context:
      Sometimes, we need to clean up after an API call. The current implementation of the error handling component does not easily allow that because we have to currently do this in the success call and the failure callback as well. See discussion here

      AT:

      • Add a callback to that is invoked after an API call regardless of whether it failed or not
      • Use the new callback where necessary to eliminate code redundancy.

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              omran.abazeed Omran Abazeed
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: