Skip to main content

reifydb_runtime/actor/
mod.rs

1// SPDX-License-Identifier: AGPL-3.0-or-later
2// Copyright (c) 2025 ReifyDB
3
4//! Actor model for ReifyDB.
5//!
6//! This module provides an actor model that provides identical semantics whether
7//! running on a single thread (WASM) or multiple OS threads (native).
8//!
9//! # Execution Model
10//!
11//! - **Native**: Actors run on threads with shared rayon pool for compute
12//! - **WASM**: Messages are processed inline (synchronously) when sent
13//!
14//! All actor states must be `Send`.
15
16pub mod context;
17pub mod mailbox;
18pub mod system;
19pub mod testing;
20pub mod timers;
21pub mod traits;