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

refactor(cli/tests): replace createResolvable with deferred #8507

Conversation

crowlKats
Copy link
Member

Currently we use createResolvable which is defined in multiple places instead of importing deferred from std.

There are 2 more instances of a createResolvable function being created: cli/rt/06_util.js & core/examples/http_bench_bin_ops.js. Should i rename those to deferred for consistency?

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

@bartlomieju
Copy link
Member

Should i rename those to deferred for consistency?

Let's keep them as they are for now

@bartlomieju bartlomieju merged commit e6685f0 into denoland:master Nov 26, 2020
@crowlKats crowlKats deleted the use_deferred_instead_of_createresolvable branch November 26, 2020 16:23
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.

None yet

2 participants