[−][src]Trait yew::services::Task
An universal task of a service. It have to be canceled when dropped.
Required methods
fn is_active(&self) -> bool
Returns true
if task is active.
fn cancel(&mut self)
Cancel current service's routine.