yew_stdweb::services

Trait Task

Source
pub trait Task {
    // Required method
    fn is_active(&self) -> bool;
}
Expand description

A task is an ongoing process which is part of a Yew application.

Tasks should cancel themselves when they are dropped.

Required Methods§

Source

fn is_active(&self) -> bool

Returns true if task is active.

Implementors§