reifydb_core/event/lifecycle.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 crate::impl_event;
5
6/// Invoked during application startup before database initialization
7#[derive(Clone)]
8pub struct OnStartEvent {}
9
10impl_event!(OnStartEvent);
11
12/// Invoked once during database creation to setup the internal database system
13#[derive(Clone)]
14pub struct OnCreateEvent {}
15
16impl_event!(OnCreateEvent);