FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    set_thread_poster

    function · ferroui-system · v0.5.0

    fn set_thread_poster(poster: Option<ThreadPoster>)
    

    Makes poster the way other threads reach the current thread (the SynchronizationContext of the thread): a wake of one of its futures from another thread is posted through it, and the work it is given must run on this thread. None removes it. It is the schedule of the thread (crate::task::set_thread_schedule).

    View source

    Deprecated since 0.5.0. use ferroui_system::task::set_thread_schedule with a Schedule

    Availability

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