MCPcopy Create free account
hub / github.com/codeaholicguy/ai-devkit / addEvent

Method addEvent

packages/task-manager/src/task.service.ts:490–509  ·  view source on GitHub ↗

* Low-level event append. For a known stateful `type` it applies the matching * snapshot mutation then appends; for non-mutating types it appends only. * Used internally by the typed setters; exposed for the tracing worker's * `task.custom` observability needs and for callers that kno

(
        taskId: string,
        type: string,
        payload: Record<string, unknown>,
        opts?: TaskMutationOptions
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

registerFunction · 0.80
service.test.tsFile · 0.80

Calls 6

requireTaskMethod · 0.95
applyEventToSnapshotMethod · 0.95
appendEventInternalMethod · 0.95
refreshCachedCountersMethod · 0.95
isTaskEventTypeFunction · 0.85
writeTaskMethod · 0.80

Tested by

no test coverage detected