Reference · Workflows and history · library.rs
run_workflow Function
Runs each enabled step on the result of the one before; the file is never written in between. Texterkennung on a file that already has text is skipped, not an error; any other failing step stops the run and says which.
func runWorkflow(input: ToolInput, w: Workflow, lang: String, recognizer: TextRecognizer?) -> FileResultpublic static FileResult RunWorkflow(ToolInput input, Workflow w, string lang, TextRecognizer? recognizer)pub fn run_workflow(input: ToolInput, w: Workflow, lang: String, recognizer: Option<Arc<dyn TextRecognizer>>) -> FileResultParameters
| Name | Type | Swift / C# |
|---|---|---|
input | ToolInput | input |
w | Workflow | w |
lang | String | lang |
recognizer | Option<Arc<dyn TextRecognizer>> | recognizer |
Returns
Errors
Does not throw.
Signatures are generated from the engine’s code. Swift is checked against the generated bindings; C# follows the bindings generator’s naming rules.