Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Conversation

@rosen-vladimirov
Copy link
Collaborator

Several methods were declared as IFuture<T> as in their body they are calling async methods from fs (for example $fs.exists(...).wait()). As now most of these methods are sync, convert all possible methods to sync (instead of IFuture).

We use fs.exists, which is deprecated. Change the code to use fs.existsSync instead. This makes the `$fs.exists` method to return boolean instead of `IFuture<boolean>`.
Several methods were declared as `IFuture<T>` as in their body they are calling `$fs.exists(...).wait()`. As now the `$fs.exists` method is sync, change all methods that are async only because of `$fs.exists().wait()` sync.
…ice.isAutoCompletionEnabled and IAutoCompletionService.isObsoleteAutoCompletionEnabled sync
@justcodebuilduser
Copy link

❤️

@rosen-vladimirov rosen-vladimirov deleted the vladimirov/sync-api branch December 13, 2016 16:48
@rosen-vladimirov rosen-vladimirov restored the vladimirov/sync-api branch December 29, 2016 10:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants