Closed julianweise closed 6 years ago
@friedow Thanks for your detailed review. Please have another look at it. I am curious what your opinion is regarding the await vs typing issue.
@friedow
I just pushed a commit that replaces all then()
functions by the usage of await
.
Nevertheless, using try/catch
, as you suggested, retains the original nesting level and therefore contradicts your motivation to introduce await
.
I see your point that try / catch
increases the nesting level again but I think the refactored code is a huge improvement anyway. Nice refactoring :), it just reads much more smoothly.
I just rebased our branch on the current developer. Additionally, I included Max's feedback.
This PR will add the the following functionalities, wrapped into our Service/Profile/Profiler concept: