Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-6291

[CLI] Implement dual promise/callback api

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-cli
    • Labels:
      None

      Description

      Master issue to manage the subissues involved in this task.

      in each subtask, the goal is to implement an optional promise/callback interface. If a callback argument is supplied as the last parameter to a function call which supports this api, then the callback is used and the function returns null.

      If no callback is supplied, then a promise is returned.

      This upgrade should be non-breaking and backwards compatible.

        Attachments

          Activity

            People

            • Assignee:
              lorin.beer Lorin Beer
              Reporter:
              lorin.beer Lorin Beer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: