Attribute Macrosยง
- A procedural macro that wraps a function with an asynchronous runtime using
spawn_blocking
. This macro converts a synchronous function into an asynchronous one and registers it as a Tauri command.
spawn_blocking
.
This macro converts a synchronous function into an asynchronous one and registers it as a Tauri command.