Build

Function Build 

Source
pub fn Build() -> Arc<Scheduler>
Expand description

Build the Echo scheduler for async task execution

Creates a work-stealing scheduler with optimal worker count. This is required for all async operations in the application.

§Configuration

  • Debug builds: 1 worker for easier debugging
  • Development: CPU count workers
  • Release: CPU count workers with optimizations

§Returns

Arc-wrapped Echo scheduler ready for use

§Panics

Panics if scheduler construction fails (should never happen with valid configuration)