| use crate::Event; | |
| pub mod posthog; | |
| /// | |
| /// Defines the interface for an event collector. | |
| pub trait Collect: Send + Sync { | |
| async fn collect(&self, event: Event) -> super::Result<()>; | |
| } | |
| use crate::Event; | |
| pub mod posthog; | |
| /// | |
| /// Defines the interface for an event collector. | |
| pub trait Collect: Send + Sync { | |
| async fn collect(&self, event: Event) -> super::Result<()>; | |
| } | |