MCPcopy
hub / github.com/prisma/prisma / capture

Method capture

packages/cli/src/utils/nps/capture.ts:2–2  ·  view source on GitHub ↗
(id: string, name: string, payload: unknown)

Source from the content-addressed store, hash-verified

1export interface EventCapture {
2 capture(id: string, name: string, payload: unknown): Promise<void>
3}
4
5export class EventCaptureError extends Error {

Callers 6

submitSurveyEventFunction · 0.65
emitFlowStartedFunction · 0.65
emitStepCompletedFunction · 0.65
emitStepSkippedFunction · 0.65
emitStepFailedFunction · 0.65
emitFlowCompletedFunction · 0.65

Implementers 1

PosthogEventCapturepackages/cli/src/utils/nps/capture.ts

Calls

no outgoing calls

Tested by

no test coverage detected