Trait yew::services::Task[][src]

#[must_use = "tasks are cancelled when dropped"]
pub trait Task {
    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

fn is_active(&self) -> bool[src]

Expand description

Returns true if task is active.

Loading content...

Implementors

Loading content...