MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / make_trigger_with_priority

Function make_trigger_with_priority

nodedb/tests/event_trigger.rs:87–98  ·  view source on GitHub ↗
(name: &str, collection: &str, priority: i32)

Source from the content-addressed store, hash-verified

85}
86
87fn make_trigger_with_priority(name: &str, collection: &str, priority: i32) -> StoredTrigger {
88 let mut t = make_trigger(
89 name,
90 collection,
91 true,
92 true,
93 true,
94 TriggerExecutionMode::Async,
95 );
96 t.priority = priority;
97 t
98}
99
100// ---------------------------------------------------------------------------
101// WriteOp data-event classification

Callers 1

Calls 1

make_triggerFunction · 0.70

Tested by

no test coverage detected