Skip to main content

player_status

Function player_status 

Source
pub fn player_status(state: State<'_, PlayerSession>) -> PlayerStatus
Expand description

Snapshot the current status. The shell normally subscribes to the pushed player-status events instead of polling, but this command is useful on initial mount to seed the UI before the first event.