Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BE Request] Create emitters for Tauri commands commonly invoked on FE #1171

Open
3 tasks
shanimal08 opened this issue Dec 3, 2024 · 0 comments
Open
3 tasks
Assignees
Labels
enhancement New feature or request stability

Comments

@shanimal08
Copy link
Collaborator

i think using an interval and emit on the BE is a little more reliable than constantly using invoke on the FE for data we need every second (and rather just have a listener on the FE when anything's changed)

if we could emit the data from the following tauri commands at an interval that'd be great. even better if it only emits if the data is different from the cached values :D


  • get_miner_metrics (already done in V2 branch, though it might not need to be a #[tauri::command] at all anymore?)
    • in addition to this, maybe split out the cached data further, sometimes CPU/GPU hashrates get stuck on loading because there's a cached version of SHA hashrate or base_node data
  • get_tari_wallet_details
  • get_transaction_history
@shanimal08 shanimal08 added enhancement New feature or request stability labels Dec 3, 2024
@mmrrnn mmrrnn self-assigned this Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stability
Projects
None yet
Development

No branches or pull requests

2 participants