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]

Parameters

NameTypeSwift / C#
allVec<Workflow>all
factsOption<FileFacts>facts

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.