Skip to main content

Mountain/Binary/Build/PostHogPlugin/
Client.rs

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