Skip to main content

refreshable

Function refreshable 

Source
pub fn refreshable(
    view: &ViewHandle,
    action: impl Fn() + Send + Sync + 'static,
) -> ViewHandle
Expand description

Apply .refreshable(action:).

The action is a Swift async closure built by crate::asyncfn: it runs action and resumes immediately, never suspending.