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

Example doesn't work (#37 continued?) #39

Closed
tobymurray opened this issue Dec 31, 2022 · 2 comments · Fixed by #46
Closed

Example doesn't work (#37 continued?) #39

tobymurray opened this issue Dec 31, 2022 · 2 comments · Fixed by #46

Comments

@tobymurray
Copy link

tobymurray commented Dec 31, 2022

The example was updated to await JobScheduler::new(), but this returns a Result so the current example code:

    let mut sched = JobScheduler::new().await;
  
    sched.add...

doesn't compile.

@seungjin
Copy link

no method named `add` found for enum `Result` in the current scope

@sueskind
Copy link
Contributor

sueskind commented May 3, 2023

#46 fixes the example in README

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 a pull request may close this issue.

3 participants