reifydb_core/event/flow.rs
1// Copyright (c) reifydb.com 2025
2// This file is licensed under the AGPL-3.0-or-later, see license.md file
3
4use std::path::PathBuf;
5
6use crate::impl_event;
7
8/// Emitted when a flow operator library is loaded
9#[derive(Debug, Clone)]
10pub struct FlowOperatorLoadedEvent {
11 /// Name of the operator
12 pub operator_name: String,
13 /// Path to the shared library containing the operator
14 pub library_path: PathBuf,
15 /// API version of the operator
16 pub api_version: u32,
17}
18
19impl_event!(FlowOperatorLoadedEvent);