Skip to main content

init

Function init 

Source
pub fn init(consent: TelemetryConsent)
Expand description

Arm telemetry for this process.

Takes TelemetryConsent by value: there is no way to call this without having gone through decide, and no overload that accepts a bool.

Idempotent — a second call is ignored, so a surface that dispatches twice cannot start two writers against one buffer.