MCPcopy
hub / github.com/prisma/prisma / submitSurveyEvent

Function submitSurveyEvent

packages/cli/src/utils/nps/survey.ts:190–193  ·  view source on GitHub ↗
(event: NpsSurveyEvent, eventCapture: EventCapture)

Source from the content-addressed store, hash-verified

188}
189
190async function submitSurveyEvent(event: NpsSurveyEvent, eventCapture: EventCapture) {
191 const signature = await checkpoint.getSignature()
192 await eventCapture.capture(signature, 'NPS feedback', event)
193}
194
195/**
196 * Wraps a promise with a timeout. If the provided promise does not resolve within the given

Callers 1

handleNpsSurveyImplFunction · 0.85

Calls 1

captureMethod · 0.65

Tested by

no test coverage detected