MCPcopy Create free account
hub / github.com/Moosync/Moosync / add_to_queue

Method add_to_queue

src/utils/context_menu.rs:97–100  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

95
96 #[tracing::instrument(level = "debug", skip(self))]
97 pub fn add_to_queue(&self) {
98 let player_store = use_context::<RwSignal<PlayerStore>>().unwrap();
99 player_store.update(|store| store.add_to_queue(self.current_or_list()));
100 }
101
102 #[tracing::instrument(level = "debug", skip(self))]
103 pub fn play_next(&self) {

Callers 6

SongListItemFunction · 0.45
AllSongsFunction · 0.45
SingleAlbumFunction · 0.45
SinglePlaylistFunction · 0.45
SingleArtistFunction · 0.45
SingleGenreFunction · 0.45

Calls 1

current_or_listMethod · 0.80

Tested by

no test coverage detected