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

Async watch option #3

Open
tjtelan opened this issue Nov 1, 2020 · 0 comments
Open

Async watch option #3

tjtelan opened this issue Nov 1, 2020 · 0 comments

Comments

@tjtelan
Copy link
Owner

tjtelan commented Nov 1, 2020

pub fn watch_new_commits<F>(&mut self, closure: F) -> Result<()>

watch_new_commits is a blocking loop and I want to provide an option for a user to do this with async logic. Probably with tokio since I'm most familiar, but I will look into whether there is a desire for other options, and what it takes to provide different runtime options like async-std.

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

No branches or pull requests

1 participant