Skip to main content

DevelopmentNodeEnvironment_MicrosoftVSCodeDependency_22NodeVersion_Bundle_Clean_Debug_ElectronProfile_EsbuildCompiler_Mountain/Binary/Build/PostHogPlugin/
Client.rs

1//! Module-private singleton holding the PostHog ingestion client.
2//! Populated once by `Initialize::Fn`; every `Capture*::Fn` reads
3//! through this static.
4
5use std::sync::OnceLock;
6
7pub(crate) static CLIENT:OnceLock<posthog_rs::Client> = OnceLock::new();