# poll_now

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-system/task/function-poll_now/

**function** · [`ferroui-system`](/docs/0.5.0/api/ferroui-system/) · v0.5.0

```rust
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](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.System/task/executor.rs#L569)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
