minca
ApiSchemasFunctions

Function: matching()

function matching(
   node, 
   space, 
   ruleWhen, 
   me, 
   limit?
): Promise<readonly AutomationMatch[]>;

Defined in: packages/core/src/schemas/automations.ts:372

The records an automation holds for now, most recently changed first, for me, who runs it. Includes that count are run as lists and counted here, so the newest of them can tell when the automation came to hold.

Parameters

ParameterTypeDefault value
nodeP2PNodeundefined
spacestringundefined
ruleWhenAutomationWhenundefined
mestringundefined
limit?number200

Returns

Promise<readonly AutomationMatch[]>

On this page