Skip to content

Replaced some sync methods for their async version#291

Merged
swyxio merged 1 commit into
jaredpalmer:masterfrom
gndelia:265-make-things-async
Dec 4, 2019
Merged

Replaced some sync methods for their async version#291
swyxio merged 1 commit into
jaredpalmer:masterfrom
gndelia:265-make-things-async

Conversation

@gndelia

@gndelia gndelia commented Oct 29, 2019

Copy link
Copy Markdown
Contributor

See #265

I removed most of the sync functions, there are some scenarios which I am unsure what to do. For instance, those sync calls that are at module level (like src/index.ts line 50 or line 60)

Same for src/errors/transformErrorMessages.ts - I am unsure if I can make that function async

Still pending one change from getProjectPath() in src/index.ts

@gndelia gndelia force-pushed the 265-make-things-async branch from 11f4c0b to 36b9a03 Compare November 5, 2019 21:44
@gndelia gndelia marked this pull request as ready for review November 5, 2019 21:48
@gndelia

gndelia commented Nov 5, 2019

Copy link
Copy Markdown
Contributor Author

There are some options I was unable to migrate - I think it's not possible. Like the following https://github.com/jaredpalmer/tsdx/blob/master/src/index.ts#L50 and a couple more that are code part of a module and therefore can't be async (that's my understanding)

@swyxio

swyxio commented Nov 6, 2019

Copy link
Copy Markdown
Collaborator

mm i think we had some merge conflicts from other PRs. if you have time to address them, be my guest, if not i'll try to update when i free up

@gndelia gndelia force-pushed the 265-make-things-async branch from 36b9a03 to 4deb7e2 Compare November 6, 2019 19:30
@gndelia

gndelia commented Nov 6, 2019

Copy link
Copy Markdown
Contributor Author

@sw-yx I rebased and solve the conflicts :)

@swyxio swyxio merged commit c5f65bc into jaredpalmer:master Dec 4, 2019
@swyxio

swyxio commented Dec 4, 2019

Copy link
Copy Markdown
Collaborator

Thank you!

@agilgur5

agilgur5 commented Mar 9, 2020

Copy link
Copy Markdown
Collaborator

@all-contributors please add @gndelia for code

@allcontributors

Copy link
Copy Markdown
Contributor

@agilgur5

I've put up a pull request to add @gndelia! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants