reifydb-sub-flow 0.4.12

Flow subsystem for stream processing and data flows
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// SPDX-License-Identifier: Apache-2.0
// Copyright (c) 2025 ReifyDB

use reifydb_core::interface::change::Change;
use reifydb_type::value::datetime::DateTime;

/// An event flowing through the flow pipeline.
/// Either a data change or a periodic tick for time-based maintenance.
pub enum FlowEvent {
	/// A data change (insert/update/remove)
	Data(Change),
	/// Periodic tick carrying current system time
	Tick { timestamp: DateTime },
}