Skip to main content

trigger_run

Function trigger_run 

Source
pub async fn trigger_run(
    state: &ServerState,
    caller: &CallerIdentity,
    request: TriggerRunRequest,
) -> Result<TriggerRunResponse, WireError>
Expand description

Triggers a run and returns the existing-firehose subscription for it.

ยงErrors

Returns a WireError when the input payload is malformed or the real start path rejects the request (unknown type, namespace denial, engine failure).