child_process/promises #43055
Labels
duplicate
Issues and PRs that are duplicates of other issues or PRs.
feature request
Issues that request new features to be added to Node.js.
What is the problem this feature will solve?
There isn't child_process doesn't have /promises API as part of the core.
What is the feature you are proposing to solve the problem?
I'd want to see a child_process/promises part of the core API.. since let's admit, promises are the future since async/await became JS standard a while ago.
I know there is util.promisify as workaround and I know it's very possible to write ones own wrapper like for example below.
But a consistent and comprehensive promises API really should be core.
What alternatives have you considered?
util.promisify
own wrappers
Yes it can be worked around. But it isn't nice/comfortable.
The text was updated successfully, but these errors were encountered: