FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    effect

    function · ferroui-view · v0.5.0

    fn effect(f: impl Fn() -> () + 'static)
    

    Runs f now and again whenever a signal or memo it read changes, until its owner is disposed. What f makes while it runs is owned by the effect and disposed before it runs again.

    View source

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.