vectorless 0.1.30

Reasoning-native document intelligence engine for AI
Documentation
// Copyright (c) 2026 vectorless developers
// SPDX-License-Identifier: Apache-2.0

//! Event system for observing and reacting to client operations.
//!
//! This module provides event types and the [`EventEmitter`] for
//! registering handlers and dispatching events during indexing,
//! querying, and workspace operations.
//!
//! # Example
//!
//! ```rust,ignore
//! use vectorless::events::{EventEmitter, IndexEvent};
//!
//! let emitter = EventEmitter::new()
//!     .on_index(|e| match e {
//!         IndexEvent::Complete { doc_id } => println!("Indexed: {}", doc_id),
//!         _ => {}
//!     });
//!
//! let client = EngineBuilder::new()
//!     .with_events(emitter)
//!     .build()
//!     .await?;
//! ```

mod emitter;
mod types;

pub use emitter::EventEmitter;
pub use types::{IndexEvent, QueryEvent, WorkspaceEvent};