ok-nick / ubs

fetch University at Buffalo class schedules in real-time
https://docs.rs/ubs-lib
MIT License
1 stars 0 forks source link

Store `VDomGuard` in an `Arc`? #17

Open ok-nick opened 1 year ago

ok-nick commented 1 year ago

It's difficult to pass around Class, ClassGroup when they are restricted by the bounds of VDom (no Send or Sync). This was the motivating factor behind creating model structs. It may be worthwhile to store VDomGuards internally wrapped in an Arc over using VDoms.