2017-10-12 10:00:28 +08:00
|
|
|
import RedisPubSub from '/imports/startup/server/redis';
|
2017-10-12 08:40:51 +08:00
|
|
|
import handlePresentationAdded from './handlers/presentationAdded';
|
|
|
|
import handlePresentationRemove from './handlers/presentationRemove';
|
|
|
|
import handlePresentationCurrentSet from './handlers/presentationCurrentSet';
|
|
|
|
import handlePresentationConversionUpdate from './handlers/presentationConversionUpdate';
|
2019-02-16 03:45:42 +08:00
|
|
|
import handlePresentationDownloadableSet from './handlers/presentationDownloadableSet';
|
2016-11-12 03:02:46 +08:00
|
|
|
|
2019-10-21 20:33:40 +08:00
|
|
|
RedisPubSub.on('PdfConversionInvalidErrorEvtMsg', handlePresentationConversionUpdate);
|
2017-10-12 08:40:51 +08:00
|
|
|
RedisPubSub.on('PresentationPageGeneratedEvtMsg', handlePresentationConversionUpdate);
|
2017-11-28 01:44:45 +08:00
|
|
|
RedisPubSub.on('PresentationPageCountErrorEvtMsg', handlePresentationConversionUpdate);
|
2017-10-12 08:40:51 +08:00
|
|
|
RedisPubSub.on('PresentationConversionUpdateEvtMsg', handlePresentationConversionUpdate);
|
|
|
|
RedisPubSub.on('PresentationConversionCompletedEvtMsg', handlePresentationAdded);
|
|
|
|
RedisPubSub.on('RemovePresentationEvtMsg', handlePresentationRemove);
|
|
|
|
RedisPubSub.on('SetCurrentPresentationEvtMsg', handlePresentationCurrentSet);
|
2019-02-16 03:45:42 +08:00
|
|
|
RedisPubSub.on('SetPresentationDownloadableEvtMsg', handlePresentationDownloadableSet);
|