FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    poll_now

    function · ferroui-system · v0.5.0

    fn poll_now(id: super::join::Id) -> bool
    

    Polls the task id of the current thread now, inside the calling code, whatever its schedule: what moves one continuation of a task into the work of another schedule (a dispatcher job of another priority). A task that is being polled is not polled inside its own poll: it is marked, and polled again once that poll has returned (through its schedule, or at once for the queue of the thread), as for a queued poll. False when the current thread has no such task (it has ended, or belongs to another thread).

    View source

    Availability

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