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

Method play_next

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

Source from the content-addressed store, hash-verified

101
102 #[tracing::instrument(level = "debug", skip(self))]
103 pub fn play_next(&self) {
104 let player_store = use_context::<RwSignal<PlayerStore>>().unwrap();
105 player_store.update(|store| store.play_next_multiple(self.current_or_list()));
106 }
107
108 #[tracing::instrument(level = "debug", skip(self))]
109 pub fn clear_queue_and_play(&self) {

Callers

nothing calls this directly

Calls 2

play_next_multipleMethod · 0.80
current_or_listMethod · 0.80

Tested by

no test coverage detected