Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add asynchronous version of Try #4

Open
GigsD4X opened this issue Sep 4, 2017 · 2 comments
Open

Add asynchronous version of Try #4

GigsD4X opened this issue Sep 4, 2017 · 2 comments

Comments

@GigsD4X
Copy link
Member

GigsD4X commented Sep 4, 2017

It'd be neat to have an asynchronous version of this library, since manually running it asynchronously requires untidy boilerplate code to wrap the calls up, which this library is meant to eliminate the need for.

@Validark
Copy link
Contributor

Validark commented Sep 5, 2017

Could I convert this library to asynchronous by default, and then use :Wait() for when you want to yield until it is complete? I don't want two separate versions if possible. Let me know what syntax you think it should have.

@GigsD4X
Copy link
Member Author

GigsD4X commented Sep 10, 2017

That may be a pretty elegant solution! This would be good to get into 2.0.0 since it's already including breaking changes. Adding :Wait() after an operation should make the thread yield until the attempt and any operations queued before the :Wait() finish executing

@Validark Validark mentioned this issue Sep 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants