Skip to main content

HumanLoopProvider

Trait HumanLoopProvider 

Source
pub trait HumanLoopProvider: Send + Sync {
    // Required method
    fn request(
        &self,
        req: HumanLoopRequest,
    ) -> Pin<Box<dyn Future<Output = Result<HumanLoopResponse, ReactError>> + Send + '_>>;
}
Available on crate feature human-loop only.
Expand description

人工介入 Provider trait

内置实现:

Required Methods§

Source

fn request( &self, req: HumanLoopRequest, ) -> Pin<Box<dyn Future<Output = Result<HumanLoopResponse, ReactError>> + Send + '_>>

发起人工介入请求

Implementors§