Skip to main content

Crate whisker_dev_runtime

Crate whisker_dev_runtime 

Source
Expand description

Development-only runtime extensions for Whisker.

Compiled into Whisker apps only when the umbrella crate is built with --features hot-reload. Release builds end up with an empty crate (no tokio / no WebSocket / no subsecond).

ยงWhat lives here

  • [hot_reload]: WebSocket client that connects to the whisker run dev server, deserialises incoming subsecond::JumpTable messages, and parks them on a single-slot mutex. The Lynx TASM thread drains the mutex at the top of every tick and invokes subsecond::apply_patch.