# is_current_schedule

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

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

```rust
fn is_current_schedule(schedule: &std::sync::Arc<dyn Schedule>) -> bool
```

Whether `schedule` is the schedule of the work that runs now on the current thread
([`current_schedule`](/docs/0.5.0/api/ferroui-system/task/function-current_schedule/)), by its `identity`.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.System/task/executor.rs#L611)

## Availability

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