MCPcopy
hub / github.com/nukeop/nuclear / getState

Function getState

packages/player/src/remoteControl/useRemoteActions.ts:33–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31
32export const useRemoteActions = (): RemoteActions => {
33 const getState = () => useRemoteStore.getState();
34
35 return {
36 onPlayPause: () => postAction('/api/playback/toggle'),

Callers 1

useRemoteActionsFunction · 0.85

Calls 1

getStateMethod · 0.80

Tested by

no test coverage detected