11 lines
567 B
JavaScript
Executable File
11 lines
567 B
JavaScript
Executable File
import RedisPubSub from '/imports/startup/server/redis';
|
|
import { processForHTML5ServerOnly } from '/imports/api/common/server/helpers';
|
|
import handleCaptionHistory from './handlers/captionHistory';
|
|
import handleCaptionUpdate from './handlers/captionUpdate';
|
|
import handleCaptionOwnerUpdate from './handlers/captionOwnerUpdate';
|
|
|
|
// TODO
|
|
RedisPubSub.on('SendCaptionHistoryRespMsg', processForHTML5ServerOnly(handleCaptionHistory));
|
|
RedisPubSub.on('EditCaptionHistoryEvtMsg', handleCaptionUpdate);
|
|
RedisPubSub.on('UpdateCaptionOwnerEvtMsg', handleCaptionOwnerUpdate);
|