# run_pending_wakes

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-system/threading/tasks/function-run_pending_wakes/

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

```rust
fn run_pending_wakes() -> bool
```

Polls the futures of the current thread that other threads woke, and runs the callbacks they
asked for (a cancellation, `CancellationToken::register_local`),
until none is left; true when there was any ([`crate::task::run_pending`](/docs/0.5.0/api/ferroui-system/task/function-run_pending/)).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.System/threading/tasks/local_executor.rs#L93)

> **Deprecated since 0.5.0.** use `ferroui_system::task::run_pending`

## Availability

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