mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 12:38:39 -09:00
13 lines
214 B
JavaScript
13 lines
214 B
JavaScript
import rpc from '../rpc';
|
|
import {INIT} from '../constants';
|
|
|
|
export function init() {
|
|
return dispatch => {
|
|
dispatch({
|
|
type: INIT,
|
|
effect: () => {
|
|
rpc.emit('init');
|
|
}
|
|
});
|
|
};
|
|
}
|