DiagnosticsSink
DiagnosticsSink = (
events) =>void
Defined in: diagnostics/Diagnostics.ts:47
Where a game sends its diagnostics. Receives DISTINCT events with counts, not individual occurrences.
Called on the game’s own thread with whatever has accumulated. It must not throw — one that does is caught and dropped — and it should not block: a sink that awaits a network round-trip inside the frame has traded a bug report for a stutter. Batch and send it yourself.
Parameters
Section titled “Parameters”events
Section titled “events”readonly DiagnosticEvent[]
Returns
Section titled “Returns”void