hojicha-runtime 0.2.0

Event handling and async runtime for Hojicha TUI framework
Documentation

Hojicha Runtime

Event handling and async runtime for Hojicha TUI applications.

This crate provides the runtime infrastructure for handling events, managing async operations, and running the main application loop.

Core Components

  • Program: Main application runtime and event loop
  • Event Processing: Priority-based event handling with backpressure
  • Async Support: Tokio-based async command execution
  • Subscriptions: Stream-based event sources
  • Error Resilience: Panic recovery and error handling

Features

  • Priority event queue with automatic scaling
  • Resilient input handling with panic recovery
  • Safe mutex operations that recover from poison
  • Metrics and monitoring support
  • Terminal management and restoration