0e2bf7e2aac3d8e19842672265946f9d84cbdf22
Adds `Send + 'static` bounds to `R` in `read_from_zip` and moves the file operations to a Tokio blocking task. This prevents blocking the async runtime when reading large zip archives. Also, updates the `load_symbol_async` function to handle data loading concurrently and stream chunks of data back to the UI. The `loaded_data` field is changed from `Option<Arc<Vec<DataPoint<OhlcItem>>>>` to `Vec<DataPoint<OhlcItem>>`. The sender and receiver for data updates are also adjusted to handle streaming chunks.
Description
No description provided
Languages
Rust
100%