pub fn execute<F: Future>(future: F) -> F::OutputExpand description
A lightweight, blocking executor that drives a Future to completion.
§Why this exists:
In a standard Rust project, you would use tokio::run or async_std::main.
Since WebIO forbids external dependencies, we use this custom executor.
It leverages a “no-op” waker and a yield_now loop to poll futures
until they return Poll::Ready.
§Performance Note:
This executor is designed for simplicity. It uses a spin-loop with
std::thread::yield_now(), which is efficient for I/O-bound web tasks
but may cause higher CPU usage than an interrupt-driven epoll/kqueue reactor.