Mopidy service as middleware, prototype operational
This commit is contained in:
25
src/js/services/mopidy/actions.js
Executable file
25
src/js/services/mopidy/actions.js
Executable file
@ -0,0 +1,25 @@
|
||||
|
||||
/**
|
||||
* Actions and Action Creators
|
||||
**/
|
||||
|
||||
export function connect(){
|
||||
return {
|
||||
type: 'CONNECT'
|
||||
}
|
||||
}
|
||||
|
||||
export function disconnect(){
|
||||
return {
|
||||
type: 'DISCONNECT'
|
||||
}
|
||||
}
|
||||
|
||||
export function instruct( call, value ){
|
||||
return {
|
||||
type: 'INSTRUCT',
|
||||
call: call,
|
||||
value: value
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user