Skip to main content

use_task

Function use_task 

Source
pub fn use_task<F>(callback: F) -> Effect
where F: FnMut() + Send + Sync + 'static,
Expand description

Side effect that runs during SSR and re-runs when tracked signals change.