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?) -> FileResult

Parameters

NameTypeSwift / C#
inputToolInputinput
wWorkfloww
langStringlang
recognizerOption<Arc<dyn TextRecognizer>>recognizer

Returns

FileResult

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.