(action, instance)
| 116 | } |
| 117 | |
| 118 | function 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 | |
| 128 | function importPayloadFrom(store, state, instance) { |
| 129 | try { |
no test coverage detected