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.