• Type: Task
    • Resolution: Unresolved
    • Priority: Normal
    • None
    • Affects Version/s: None
    • Component/s: None

      Across the codebase we have asynchronous code written using promises, which is hard to read and to maintain and error-prone.

      All this code needs to be rewritten using the async/await syntax.

      If you want to work on this, please create a sub-ticket for the file or section of the code you want to convert, and assign that sub-ticket to you (or ask me [monkey] to do it for you )

      One golden rule for async/await: be sure to catch potential errors thrown by the code, otherwise an uncaught error could crash the server.
      Some reading material:
      https://catchjs.com/Docs/AsyncAwait
      http://thecodebarbarian.com/async-await-error-handling-in-javascript.html

       

            Assignee:
            GARV THAKRE
            Reporter:
            Monkey
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:

                Version Package