MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / trigger

Method trigger

src/ui-server/api/when.ts:119–119  ·  view source on GitHub ↗

What fires the site — the JSX prop, `on*` option or runs-later call it is written under; null when nothing binds it.

(caller: { filePath: string; language: Language }, site: { line?: number; column?: number })

Source from the content-addressed store, hash-verified

117 args(caller: { filePath: string; language: Language }, site: { line?: number; column?: number }): Promise<string | null>;
118 /** What fires the site — the JSX prop, `on*` option or runs-later call it is written under; null when nothing binds it. */
119 trigger(caller: { filePath: string; language: Language }, site: { line?: number; column?: number }): Promise<SiteTrigger | null>;
120 /** The call as written (the whole member chain) and what it passes; null when unreadable. `callee` names the call when a position is shared. */
121 callSite(caller: { filePath: string; language: Language }, site: { line?: number; column?: number; callee?: string }): Promise<CallSiteText | null>;
122 /** The decorators / annotations / attributes on a definition, and on its class; null when unreadable. */

Callers 1

triggerAtFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected