Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-25701

Add support for promises to Titanium and Alloy

    Details

    • Story Points:
      0
    • Sprint:
      2018 Sprint 04 SDK

      Description

      As a developer,
      I want to be able to use libraries that depend on JavaScript Promises,
      So that I can have out-0f-box support for a wider range of modules.

      https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises

      I have been using JavaScript promises in my code for years but the only way to use modules that depend on Promises is to add support myself. It would be great if Titanium added built-in support for Promises.

      I think it would be a relatively small change. Just add bluebird (http://bluebirdjs.com/docs/getting-started.html) and add a global variable "Promise".

      Let me know if you have any questions. Thanks!

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              brentonhouse Brenton House
            • Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Source Code