MCPcopy Index your code
hub / github.com/codeaashu/claude-code / logEventAsyncImpl

Function logEventAsyncImpl

src/services/analytics/sink.ts:80–86  ·  view source on GitHub ↗

* Log an event (asynchronous implementation) * * With Segment removed the two remaining sinks are fire-and-forget, so this * just wraps the sync impl — kept to preserve the sink interface contract.

(
  eventName: string,
  metadata: LogEventMetadata,
)

Source from the content-addressed store, hash-verified

78 * just wraps the sync impl — kept to preserve the sink interface contract.
79 */
80function logEventAsyncImpl(
81 eventName: string,
82 metadata: LogEventMetadata,
83): Promise<void> {
84 logEventImpl(eventName, metadata)
85 return Promise.resolve()
86}
87
88/**
89 * Initialize analytics gates during startup.

Callers

nothing calls this directly

Calls 2

logEventImplFunction · 0.85
resolveMethod · 0.45

Tested by

no test coverage detected