10 lines
575 B
JavaScript
10 lines
575 B
JavaScript
import RedisPubSub from '/imports/startup/server/redis2x';
|
|
import handlePresentationChange from './handlers/presentationChange';
|
|
import handlePresentationInfoReply from './handlers/presentationInfoReply';
|
|
import handlePresentationRemove from './handlers/presentationRemove';
|
|
|
|
RedisPubSub.on('SyncGetPresentationInfoRespMsg', handlePresentationInfoReply);
|
|
RedisPubSub.on('NewPresentationEvtMsg', handlePresentationChange);
|
|
RedisPubSub.on('PresentationConversionCompletedEvtMsg', handlePresentationChange);
|
|
RedisPubSub.on('RemovePresentationEvtMsg', handlePresentationRemove);
|