Skip to content

Conversation

@olivierlemasle
Copy link

The test function is required to force promisify-node to promisify native functions, because async inference based on argument's names cannot work on native functions.

With promisify-node ~0.3.0, functions were always promisify, even if they were not considered asynchronous by async inference. The change of behavior was introduced "insidiously" in nodegit/promisify-node#15.

The `test` function is required to force promisify-node
to promisify native functions, because async inference
based on argument's names cannot work on native functions.

With promisify-node ~0.3.0, functions were always
promisify, even if they were not considered asynchronous
by async inference.
@olivierlemasle
Copy link
Author

Superseded by #1519.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant