lml-main
Version:
This is now a mono repository published into many standalone packages.
11 lines • 542 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SUBSCRIBE_CHANNEL = '@@pusher/SUBSCRIBE_CHANNEL';
exports.UNSUBSCRIBE_CHANNEL = '@@pusher/UNSUBSCRIBE_CHANNEL';
exports.pusherSubscribeChannel = function (channel, events, callback) {
return ({ type: exports.SUBSCRIBE_CHANNEL, channel: channel, events: events, callback: callback });
};
exports.pusherUnsubscribeChannel = function (channel) {
return ({ type: exports.UNSUBSCRIBE_CHANNEL, channel: channel });
};
//# sourceMappingURL=subscribe.js.map