Skip to main content

Mountain/Binary/Build/PostHogPlugin/
Client.rs

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