2017-06-19 21:13:35 +08:00
|
|
|
import RedisPubSub from '/imports/startup/server/redis2x';
|
|
|
|
import handleMeetingCreation from './handlers/meetingCreation';
|
2017-07-03 23:05:35 +08:00
|
|
|
import handleGetAllMeetings from './handlers/getAllMeetings';
|
2017-06-19 21:13:35 +08:00
|
|
|
|
|
|
|
RedisPubSub.on('MeetingCreatedEvtMsg', handleMeetingCreation);
|
2017-07-03 23:05:35 +08:00
|
|
|
RedisPubSub.on('SyncGetMeetingInfoRespMsg', handleGetAllMeetings);
|