Resource
A rust-backed resource stored through tauri::Manager::resources_table API.
The resource lives in the main process and does not exist in the Javascript world, and thus will not be cleaned up automatically except on application exit. If you want to clean it up early, call {@linkcode Resource.close} or use Explicit Resource Management.
Several API types are resources and inherit this behavior, among them Menu, TrayIcon, Image, Webview and the menu item classes.
To support older browsers with Explicit Resource Management, use a supported compiler (e.g. tsc) or bundler (e.g. rollup).