# schedule_recurring_action

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-dynamic-data/kernel/function-schedule_recurring_action/

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

```rust
fn schedule_recurring_action(scheduler: &std::rc::Rc<dyn IScheduler>, interval: std::time::Duration, action: impl Fn() -> () + 'static) -> std::rc::Rc<dyn IDisposable>
```

Runs `action` every `interval` on `scheduler` until the result is disposed
(`ScheduleRecurringAction(IScheduler, TimeSpan, Action)`).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DynamicData/kernel/internal_ex.rs#L41)

## Availability

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