Remove the `maybePromise` wrapper and rewrite the functions that use it to directly return promises instead

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Unknown
    • 4.11.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Acceptance Criteria

      Implementation Requirements

      • Remove the `maybePromise` wrapper and rewrite the functions that use it to directly return promises instead;
      • Be sure that the promise provider is still used to return the final result
      • Node's `util.promisify` can make this transition easier, however, we should prefer converting the consuming functions (in particular, executeOperation) to async/await instead

      Testing Requirements

      • Existing tests should all still pass

      Documentation Requirements

      • N/A

              Assignee:
              Neal Beeken
              Reporter:
              Daria Pardue
              Neal Beeken
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: