Module event

Source
Expand description

Provides foundational primitives for event-driven communication.

This module contains generic, decoupled components for creating and managing event channels. The primary component is the EventBus, a generic, thread-safe MPSC (multi-producer, single-consumer) channel.

By keeping these primitives generic, khora-core allows higher-level crates to define their own specific event types without creating circular dependencies.

Structsยง

EventBus
Manages a generic, multi-producer, single-consumer (MPSC), thread-safe event channel.