Forum

Christopher Steinbach
      3 years ago #26386
      Up
      0
      Down
      ::

      Hi Dan,

      as you said, the logic inside a business object is synchronous only.

      In my example I want to load 10 or more encrypted files via REST-Connector call and decrypt each file as they arrive. In a synchronous world this is very time consuming by doing this one by one.

      My first idea to solve this was to use JS-Promises. But the ES5 doesn’t support JS-Promises. Then I thought there might be an alternative Connector Call to get a promise instead the result. Like certain JQuery-based Libs does in good old ES5 times. But this would not work either because this would require to have some kind of callback function to resolve the BO-Call itself after all promises are resolved.

      It seems that have to solve this client side.