effects/index.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
const call = (obj, method, ...args) => ({
  type: '@@CALL',
  payload: {
    obj,
    method,
    args
  }
})
exports.call = call

const all = (...effects) => ({
  type: '@@ALL',
  payload: {
    effects
  }
})
exports.all = all