Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: improve support for async/await (#1823)
BREAKING CHANGE: #1823 contains the following breaking API changes: * now returns a promise if handler is async. * onFinishCommand removed, in favor of being able to await promise. * getCompletion now invokes callback with err and `completions, returns promise of completions.
- Loading branch information
Showing
13 changed files
with
857 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.