You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Execa doesn't implement .finally() on the child process. This is making it difficult to come up with a correct Flow type definition for it – see discussion on this PR.
Would you object to adding a .finally() method to execa's spawned child process, to make it fully implement Promise?
The .finally() method is at Stage 4 and is in the latest draft spec.
The text was updated successfully, but these errors were encountered:
Would it be possible (or desirable) to define execa as returning an enhanced Promise, rather than an enhanced child process? I.e., extend Promise type like bluebird's flowdef?
There are several defs in flow-typed that extend Promise and that seems like the ideal pattern for Promise compatibility, if possible.
Execa doesn't implement
.finally()
on the child process. This is making it difficult to come up with a correct Flow type definition for it – see discussion on this PR.Would you object to adding a
.finally()
method to execa's spawned child process, to make it fully implementPromise
?The
.finally()
method is at Stage 4 and is in the latest draft spec.The text was updated successfully, but these errors were encountered: