agde_web

Struct WebRuntime

source
pub struct WebRuntime;

Trait Implementations§

source§

impl Runtime for WebRuntime

source§

type Sleep = Sleep

source§

fn spawn<T: Send + Unpin + 'static, F: Future<Output = T> + Send + 'static>( future: F, ) -> Box<dyn TaskHandle<T>>

source§

fn sleep(duration: Duration) -> Self::Sleep

Auto Trait Implementations§

§

impl Freeze for WebRuntime

§

impl