tenvis-pulse-core 0.1.1

Core types, traits, and message routing for Pulse
Documentation

pulse-core

Core types, traits, and message routing for the Pulse realtime engine.

This crate provides the fundamental building blocks:

  • Channel - Room/topic abstraction for grouping connections
  • Router - High-performance pub/sub message routing
  • Presence - Track and broadcast user presence
  • Message - Internal message types

Architecture

┌─────────────┐     ┌─────────────┐     ┌─────────────┐
│  Connection │────▶│   Router    │────▶│  Channel    │
└─────────────┘     └─────────────┘     └─────────────┘
                           │
                           ▼
                    ┌─────────────┐
                    │  Presence   │
                    └─────────────┘