You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (Jira)" <ji...@apache.org> on 2022/02/18 13:11:00 UTC

[jira] [Updated] (THRIFT-5518) Remove promise implementation with Q and dependency to Q.

     [ https://issues.apache.org/jira/browse/THRIFT-5518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer updated THRIFT-5518:
-------------------------------
    Language:   (was: javascript)

> 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
>            Priority: Minor
>
> 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)