Reference · Rules and helpers · rules.rs
top_workflows Function
At most three for the open file: the fitting ones first, then the pinned.
func topWorkflows(all: [Workflow], facts: FileFacts?) -> [Workflow]public static Workflow[] TopWorkflows(Workflow[] all, FileFacts? facts)pub fn top_workflows(all: Vec<Workflow>, facts: Option<FileFacts>) -> Vec<Workflow>Parameters
Returns
Vec<Workflow>
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.