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 a Rust client Interface #31

Open
AzHicham opened this issue Feb 12, 2023 · 0 comments
Open

Add a Rust client Interface #31

AzHicham opened this issue Feb 12, 2023 · 0 comments

Comments

@AzHicham
Copy link

Hello,

Love this project especially the fact that it is agnostic to the language and only based on a REST API.
Nevertheless, IMO it could be really awesome to have a a rust client around this REST API.
This way we could have a celery-like framework

For example :

#[derive(Serialize, DeSerialize)]
struct Task1Args {
    arg1: u8,
}

let taskArgs = Task1Args{ ... }

let job_id = ocypod::send_task(taskArgs)?;

let status: Status = ocypod::get_status(job_id)?;

Thank you :)

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