localghost 0.3.0

Ergonomic Rust bindings to the Web platform
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Types and traits for working with asynchronous tasks.

mod animation_frame;
#[cfg(feature = "task-idle")]
mod idle;
mod spawn_local;

pub use animation_frame::AnimationFrame;
#[cfg(feature = "task-idle")]
pub use idle::{Deadline, Idle};
pub use spawn_local::{spawn_local, JoinHandle};