MCPcopy Create free account
hub / github.com/jhen0409/react-native-debugger / dispatchRemotely

Function dispatchRemotely

app/worker/reduxAPI.js:118–126  ·  view source on GitHub ↗
(action, instance)

Source from the content-addressed store, hash-verified

116}
117
118function dispatchRemotely(action, instance) {
119 try {
120 const { store, actionCreators } = instance
121 const result = evalAction(action, actionCreators)
122 store.dispatch(result)
123 } catch (e) {
124 relay('ERROR', e.message, instance)
125 }
126}
127
128function importPayloadFrom(store, state, instance) {
129 try {

Callers 1

handleMessagesFunction · 0.85

Calls 1

relayFunction · 0.85

Tested by

no test coverage detected