Function createMetricsAtom
- createMetricsAtom(context, defaultSamples?): StateAtom<Metrics, {}>
-
Parameters
-
-
Optional
defaultSamples: StateAtom<NetworkSample, {
setDownloadTimeSeconds: ((sample, downloadTime) => boolean);
setRoundTripTimeSeconds: ((sample, roundTripTime) => boolean);
setSizeInBytes: ((sample, size) => boolean);
setTimestamp: ((sample, timestamp) => boolean);
setType: ((sample, type) => boolean);
}>[]