dthree / dthree/vorpal

Normalize all user-provided functions to promise via utility method internally

Open
#102 3 comments 0 reactions 0 assignees View on GitHub
enhancement idea-discussion
Dominant language
JavaScript
Stars
5.6k
Forks
278
PR merge metrics
No merged PRs in 30d

Description

To ensure that all async user-provided functions can use either a callback or a promise, a utility method should be created that normalizes everything into returning a promise. It'll simplify the code.

We may also want to consider using Babel's async/await to further simplify the code.

@dthree Thoughts?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.