Skip to main content

run_headless

Function run_headless 

Source
pub async fn run_headless(
    sender: GatewaySender,
    events: GatewayEvents,
    session_id: String,
    task: String,
) -> Result<Option<String>>
Expand description

Runs one task through the headless gateway client.

§Errors

Returns an error if validation or an operation required to complete the request fails.