MCPcopy
hub / github.com/actionsflow/actionsflow / getTriggerManageCache

Function getTriggerManageCache

packages/actionsflow-core/src/trigger.ts:59–71  ·  view source on GitHub ↗
({
  name,
  workflowRelativePath,
}: {
  name: string;
  workflowRelativePath: string;
})

Source from the content-addressed store, hash-verified

57};
58
59export const getTriggerManageCache = ({
60 name,
61 workflowRelativePath,
62}: {
63 name: string;
64 workflowRelativePath: string;
65}): Cache => {
66 const triggerId = getTriggerId({
67 name: name,
68 workflowRelativePath: workflowRelativePath,
69 });
70 return getCache(`trigger-cache-manager-${name}-${triggerId}`);
71};
72
73export const getTriggerHelpers = ({
74 name,

Callers 4

runFunction · 0.90
trigger.test.tsFile · 0.90
cleanCacheFunction · 0.90

Calls 2

getCacheFunction · 0.90
getTriggerIdFunction · 0.85

Tested by

no test coverage detected