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

[CLI] Implement dual promise/callback api

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Not A Problem
    • None
    • None
    • cordova-cli
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: