UNPKG

wechaty-redux

Version:

Wechaty Redux Plugin Powered By Ducks

10 lines 602 B
import * as actions from './actions.js'; export const ding = (dispatch) => (puppetId, data) => dispatch(actions.DING_COMMAND(puppetId, data)); export const reset = (dispatch) => (puppetId, data) => dispatch(actions.RESET_COMMAND(puppetId, data)); /** * Remove the puppet from registry * caution: all actions will failed if the specified puppet id is not in the registry */ export const deregisterPuppet = (dispatch) => (puppetId) => dispatch(actions.DEREGISTER_PUPPET_COMMAND(puppetId)); export const nop = (dispatch) => () => dispatch(actions.NOP_COMMAND()); //# sourceMappingURL=operations.js.map