Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop AsyncFunction typedef #859

Merged
merged 1 commit into from Jun 11, 2018
Merged

Drop AsyncFunction typedef #859

merged 1 commit into from Jun 11, 2018

Conversation

natebosch
Copy link
Member

The typedef was misused to mean either Function or Function() in
various places and worked because the difference was not checked. The
doc comment was also incorrect because there were places it was used
where a return value was explicitly necessary. Replace with an inline
function type definition using the appropriate choice for the location.

Where possible also replace with Function types that flow through the
required return types.

The typedef was misused to mean either `Function` or `Function()` in
various places and worked because the difference was not checked. The
doc comment was also incorrect because there were places it was used
where a return value was explicitly necessary. Replace with an inline
function type definition using the appropriate choice for the location.

Where possible also replace with Function types that flow through the
required return types.
Copy link
Member

@grouma grouma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note this resolves a number of issues with #842

@natebosch natebosch merged commit 4302ce4 into master Jun 11, 2018
@natebosch natebosch deleted the drop-async-function branch June 11, 2018 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants