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
The more I work on this, the more I wonder: should the Promises API be merged into node-tmp?
Promises are so common these days that I'm not sure I see the benefit of shipping a version of node-tmp without elegant promise support. If users don't want the promises of course they don't have to use them.
I am for it. I would prefer not to maintain this package - I am doing it as a service for the community and while it is not a lot of work not maintaining it is even less work :)
As a side note - we have promise APIs for most APIs in Node now and the gaps are closing.
I think this would make sense. The status quo isn't bad but callbacks should be the second class citizen going forward most likely
The more I work on this, the more I wonder: should the Promises API be merged into node-tmp?
Promises are so common these days that I'm not sure I see the benefit of shipping a version of node-tmp without elegant promise support. If users don't want the promises of course they don't have to use them.
The interface could be similar to Node's
fs
:If the parties agree I'd be happy to do the lifting!
/cc @silkentrance @raszi
The text was updated successfully, but these errors were encountered: