MCPcopy Create free account
hub / github.com/dailydotdev/apps / logEvent

Function logEvent

packages/shared/src/hooks/log/useLogContextData.ts:56–58  ·  view source on GitHub ↗
(event: LogEvent)

Source from the content-addressed store, hash-verified

54 return useMemo<LogContextData>(
55 () => ({
56 logEvent(event: LogEvent) {
57 pushToQueue([generateEvent(event, sharedPropsRef, getPage())]);
58 },
59 logEventStart(id, event) {
60 if (!durationEventsQueue.current.has(id)) {
61 durationEventsQueue.current.set(

Callers 15

CommentAdFunction · 0.85
InlineAdFunction · 0.85
SidebarAdFunction · 0.85
useJoinCommunitiesFunction · 0.85
SquadWelcomeModalFunction · 0.85
claimFunction · 0.85
PerkActionsFunction · 0.85
onClickFunction · 0.85
componentDidCatchMethod · 0.85
PromotionalBannerFunction · 0.85
onShareFunction · 0.85
logShareEventFunction · 0.85

Calls 1

generateEventFunction · 0.85

Tested by 1

callbackFunction · 0.68