Skip to main content

Module platform

Module platform 

Source
Expand description

Platform abstraction traits for Compose runtime services.

These traits allow Compose to delegate scheduling and clock responsibilities to the host platform, enabling integration with different environments without depending directly on std APIs.

Traits§

Clock
Provides timing information for the runtime.
RuntimeScheduler
Schedules work for the Compose runtime.

Functions§

scheduler_ref
Wraps scheduler in a SchedulerRef.

Type Aliases§

SchedulerRef
Shared handle to a RuntimeScheduler.