Axel created THRIFT-5518:
----------------------------

             Summary: Remove promise implementation with Q and dependency to Q.
                 Key: THRIFT-5518
                 URL: https://issues.apache.org/jira/browse/THRIFT-5518
             Project: Thrift
          Issue Type: Improvement
    Affects Versions: 0.16.0
            Reporter: Axel


When generating a javascript-api without ES6, the Q library for promises is 
used. All supported runtimes are supporting ES6-style promises and the Q 
library is basically no longer beeing worked on. This allows the removal of Q 
also for users who are using ES6 style promises. Currently, Q is always 
included as dependency.

My suggestion is to no longer generate q-based promise methods at all if ES6 is 
not set, but callbacks only.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to