Skip to content

Remove fibers from CLI and use async/await #2204

@rosen-vladimirov

Description

@rosen-vladimirov

CLI uses fibers in order to use sync code instead of callbacks. Fibers are great, but most of the people are not familiar with them. Also Promises are more popular now and they are integrated in Node.js.
TypeScript allows using async/await for getting Promises results instead of chaining .then.
Here are the steps to be taken when fibers are removed and async/await is used instead:

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions