MCPcopy
hub / github.com/react/react / stopLoggingProfilingEvents

Function stopLoggingProfilingEvents

packages/scheduler/src/SchedulerProfiling.js:66–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64}
65
66export function stopLoggingProfilingEvents(): ArrayBuffer | null {
67 const buffer = eventLogBuffer;
68 eventLogSize = 0;
69 eventLogBuffer = null;
70 eventLog = null;
71 eventLogIndex = 0;
72 return buffer;
73}
74
75export function markTaskStart(
76 task: {

Callers 1

logEventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected