MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / markHandled

Function markHandled

graph-ui/src/app/key-probe.ts:50–52  ·  view source on GitHub ↗
(event: object, shortcut: string)

Source from the content-addressed store, hash-verified

48
49/** Zeichnet ein Ereignis als von dieser Oberflaeche verbraucht. */
50export function markHandled(event: object, shortcut: string): void {
51 (event as Record<string, unknown>)[HANDLED] = shortcut;
52}
53
54/** Das Kuerzel, als das diese Oberflaeche das Ereignis verbraucht hat, oder nichts. */
55export function handledShortcutOf(event: object): string | undefined {

Callers 2

onKeyDownFunction · 0.90
key-probe.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected