MCPcopy Create free account
hub / github.com/triggerdotdev/trigger.dev / useRun

Function useRun

apps/webapp/app/hooks/useRun.ts:24–28  ·  view source on GitHub ↗
(matches?: UIMatch[])

Source from the content-addressed store, hash-verified

22}
23
24export function useRun(matches?: UIMatch[]) {
25 const run = useOptionalRun(matches);
26 invariant(run, "Run must be present");
27 return run;
28}

Callers 2

RunCompletedPageFunction · 0.90
PageFunction · 0.90

Calls 1

useOptionalRunFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…