Skip to content

fs *Async return Promise instead of Future #14

Closed
@aappddeevv

Description

@aappddeevv

I noticed that the fs *Async functions all return scala Promises vs Futures. Since I always need to compose these, why not return Future in the API since its not node.js standard anyway? The completion is always handled within the function so there never really is anything you can do with it. I know its just a aPromse.future to get the Future but you cannot do much with the returned promise as is. Was there a reason for returning a scala Promise?

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions