Skip to main content

task

Function task 

Source
pub fn task(
    view: &ViewHandle,
    id: i64,
    priority: TaskPriority,
    file: &str,
    line: i64,
    action: impl Fn() + Send + Sync + 'static,
) -> ViewHandle
Expand description

Apply .task(id:priority:_:).