# hot_reloadable_with

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-hot-patch/function-hot_reloadable_with/

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

```rust
fn hot_reloadable_with<A, R>(function: fn(A) -> R, argument: A) -> R
```

Invoke a registered synchronous function with a handler or command argument.
Pass a tuple for multiple arguments. Call this at every invocation of the
existing subscription; the function pointer is resolved through the current
patch table each time. Argument and return types must live in stable code.
This does not admit a function or rebuild its view: the owning supervisor
still validates the complete source revision before installing a patch.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotPatch/lib.rs#L37)

## Availability

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