Open kstep opened 3 years ago
tokio::runtime::Handle
Arc<RwLock<Spotify>>
SpotifyProxy
Handle::spawn()
Spotify
SpotifyServer
Handle
tokio::runtime::Handle
andArc<RwLock<Spotify>>
instead ofSpotifyProxy
.Handle::spawn()
and direct async calls toSpotify
methods instead of message passing.SpotifyProxy
andSpotifyServer
.Handle
andSpotify
structs into a single struct and add convenience wrappers for async methods.