conductor_rust 0.1.0-alpha.0

A library for building Conductor workers with Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use async_trait::async_trait;
use reqwest::Error;
use serde::Serialize;
#[async_trait]
pub trait WorkflowExecutor {
    async fn start_workflow<T>(
        &self,
        workflow_name: &str,
        workflow_input: T
    ) -> Result<Option<String>, Error>
        where T: Serialize + Send + Sync;
}