Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Is it possible to create sync version of loadFile method? #156

Open
guseinovmg opened this issue Jan 24, 2018 · 5 comments
Open

Is it possible to create sync version of loadFile method? #156

guseinovmg opened this issue Jan 24, 2018 · 5 comments

Comments

@guseinovmg
Copy link

In my project it will be more convenient to use sync loading.
Are there any obstacles to add sync version?
I am going do it myself, just want to be sure that it make sense

@ForsakenHarmony
Copy link
Contributor

Would probably be possible
https://github.com/mulesoft/osprey/blob/master/osprey.js#L37
just change that to loadRAMLSync and remove the .then

@ForsakenHarmony
Copy link
Contributor

You're more than welcome to submit a PR with a loadFileSync function added

@amiiy
Copy link

amiiy commented Sep 17, 2018

Hi. can I make a PR for that?

@jstoiko
Copy link
Contributor

jstoiko commented Sep 17, 2018

you are more than welcome to do so!

@amiiy
Copy link

amiiy commented Sep 25, 2018

#169 👀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants