MCPcopy Create free account
hub / github.com/ad3lre/echo / registerPollVoteHandler

Function registerPollVoteHandler

backend/src/sockets/pollVoteHandler.ts:66–199  ·  view source on GitHub ↗
(
  socket: Socket,
  io: Server,
  log: FastifyBaseLogger,
  userId: string,
  options: { authenticated: boolean },
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

registerSocketHandlersFunction · 0.90

Calls 11

validatePollVotePayloadFunction · 0.90
getEchoStoreFunction · 0.90
canUserPostMessageFunction · 0.90
upsertEchoPollVoteFunction · 0.90
emitPollVoteFailedFunction · 0.85
getEchoMessageByIdFunction · 0.85
pollEndedFunction · 0.85
broadcastPollUpdatedFunction · 0.85
onMethod · 0.80
isAnonymousSocketUserFunction · 0.70

Tested by

no test coverage detected