Stats
Defined in: src/stats.ts:42
Methods
Section titled “Methods”dispose()
Section titled “dispose()”dispose():
void
Defined in: src/stats.ts:47
Stops listening to telemetry and every onSnapshot timer.
Returns
Section titled “Returns”void
onSnapshot()
Section titled “onSnapshot()”onSnapshot(
listener,interval): () =>void
Defined in: src/stats.ts:45
Calls listener with a snapshot every interval. Returns a function that stops it.
Parameters
Section titled “Parameters”listener
Section titled “listener”(snapshot) => void
interval
Section titled “interval”Returns
Section titled “Returns”() => void
snapshot()
Section titled “snapshot()”snapshot():
StatsSnapshot
Defined in: src/stats.ts:43